How can I create a public getter and a private setter for a property? Is the following correct?
public String Password { set { this._password = value; } } p
Yes it is possible, even with auto properties. I often use:
public int MyProperty { get; private set; }