VB.net 類和繼承 我完全看不懂

在VB.net或VB中類和繼承

類: Property ID() As String
Get
Return tmpID
End Get
Set(ByVal value As String)
tmpID = value
End Set
End Property
Property Name() As String
Get
Return tmpName
End Get
Set(ByVal value As String)
tmpName = value
End Set
End Property

繼承:Class ClsStudent
Inherits Student
Dim tmpClsName As String
Property ClsName() As String
Get
Return tmpClsName
End Get
Set(ByVal value As String)
tmpClsName = value
End Set
End Property
End Class

那個達人能幫幫手解釋一下這幾行類和繼承的程式碼!謝謝
芳兒
2022-07-30 18:34:01
  • 0

  • 24 點閱

  • 0 評論

其他人的答案

Copyright © 2024 https://hiqna.com 中華Hi知識