📄 2.vb
字号:
Imports System.Collections
Imports System
Public Structure Person
Dim Name As String
Dim Age As Integer
End Structure
Public Module Main
public Sub Main()
dim p1 as Person
dim p2 as Person
p1.Name = "Richard"
p1.Age = 29
p2.Name = "Richard"
p2.Age = 29
if p1.Equals(p2) then
Console.WriteLine( "They are the same person" )
end if
End Sub
End Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -