为什么要这样写
Public Class NewCan
Private uu As String
Public Property su() As String
Get
Return uu
End Get
Set(ByVal value As String)
uu = value
End Set
End Property
------------------------------------------
public uu as string
End Class
上面的两个 uu 变量可以 NewCan.uu , 或者 NewCan.su 来获取和设置变量
Private uu As String
Public ReadOnly Property su() As String
Get
Return uu
End Get
End Property
---------------------------------------------------------
Public ReadOnly uu As String
上面两个变量 访问上也是等效的为什么要写
Private uu As String
Public Property su() As String
Get
Return uu
End Get
Set(ByVal value As String)
uu = value
End Set
End Property
这么多代码呢?
直接写成 public uu as string 不就行了吗 ?
请高手们赐教!!~~~~~~~~~~
Private uu As String
Public Property su() As String
Get
Return uu
End Get
Set(ByVal value As String)
uu = value
End Set
End Property
------------------------------------------
public uu as string
End Class
上面的两个 uu 变量可以 NewCan.uu , 或者 NewCan.su 来获取和设置变量
Private uu As String
Public ReadOnly Property su() As String
Get
Return uu
End Get
End Property
---------------------------------------------------------
Public ReadOnly uu As String
上面两个变量 访问上也是等效的为什么要写
Private uu As String
Public Property su() As String
Get
Return uu
End Get
Set(ByVal value As String)
uu = value
End Set
End Property
这么多代码呢?
直接写成 public uu as string 不就行了吗 ?
请高手们赐教!!~~~~~~~~~~
...全文
相关推荐
01-为什么要写这个爬虫教程.md
01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md 01_为什么要写这个爬虫教程.md
博主自述我为什么要写博客
博主自述我为什么要写博客
视频时代,为什么还在写文字.pdf
视频时代,为什么还在写文字
交通银行积分兑换 为什么要写那么长呢
积分兑换,为什么要写那么长呢?差不多就行了
为什么写技术博客对新人如此重要?
由于明年项目业务的扩展,所以在现有的团队中,我还要再招 2-3 名Office开发的新成员作为正式的专职员工,在此聊聊我在招聘过程的感受,和大家交流些经验,特别是「为什么写技术博客对新人如此重要?」。希望对在职者有所帮助,也对新人有所启发。


