public string UserName { get; }
Public ReadOnly Property UserName As String
Get
public:
virtual property String^ UserName {
String^ get () sealed;
}
abstract UserName : string with get
override UserName : string with get
Значение свойства никогда не равно null.