What is the best way to access properties from the same class, via accessors or directly? [closed]
This is something I'm not much consistent about and always curious about what other people do. How do you access internal properties (private or public)? For example you've got this property : Private _Name As String Public Property Name() As String Get Return _Name End Get Set(ByVal value As String) _Name = value End Set End Property In the same class within another function which one do you prefer? and why? _Name = "Johnny" or Name = "Johnny" Ignore the fact that I used Name instead of Me.Name. Personally I prefer to use the property where possible. This means you still get the validation,