Visual Basic .NET is a .NET oriented-object implementation and evolution of Visual Basic developed by Microsoft.

learn more… | top users | synonyms

21
votes
6answers
41k views

.NET Properties - Use Private Set or ReadOnly Property?

In what situation should I use a Private Set on a property versus making it a ReadOnly property? Take into consideration the two very simplistic examples below. First example: Public Class Person ...