Hi guys. I have a newbie question: Is there any substancial difference when creating properties for a class this way:
As opposed to this:
Thank you!
vb.net Code:
Public Class Invoice Public Property customerName As String End Class
As opposed to this:
vb.net Code:
Public Class Invoice Private _name As String Public Property customerName As String Get Return _name End Get Set(ByVal value As String) _name = value End Set End Property End Class
Thank you!