62,244
社区成员




Class Person
Public Age As Integer
Public Sub PrintAge()
HttpContext.Current.Response.Write(Age)
End Sub
End Class
Class Person
Private _Age As Integer
Public Property Age() As Integer
Get
Return (Me._Age)
End Get
Set(ByVal value As Integer)
Me._Age = value
End Set
End Property
Public Sub PrintAge()
HttpContext.Current.Response.Write(Me._Age)
End Sub
End Class
Dim student As Person = New Person()
student.Age = 10
student.PrintAge