vb.net变量命名规则 vbscript变量名( 二 )


End Sub
'学生号属性
Public Property StuNo() As String
Get
Return m_stuNo
End Get
Set(ByVal value As String)
m_stuNo = value
End Set
End Property
'学生姓名属性
Public Property StuName() As String
Get
Return m_stuName
End Get
Set(ByVal value As String)
m_stuName = value
End Set
End Property
'学生年龄属性
Public Property StuAge() As Integer
Get
Return m_stuAge
End Get
Set(ByVal value As Integer)
m_stuAge = value
End Set
End Property
'学生住址属性
Public Property StuAddress() As String
Get
Return m_stuAddress
End Get
Set(ByVal value As String)
m_stuAddress = value
End Set
End Property
End Class
VB 的变量命名规则??b错了因为vb变量名不能有空格答案应该是d
必须以字母开头不能有特殊的名称d选项没问题
【vb.net变量命名规则 vbscript变量名】vb.net变量命名规则的介绍就聊到这里吧,感谢你花时间阅读本站内容 , 更多关于vbscript变量名、vb.net变量命名规则的信息别忘了在本站进行查找喔 。

推荐阅读