Readonly Property در C#.Net
public class MyClass { public MyClass(string readOnlyProperty) { this._readOnlyProperty = readOnlyProperty; } private string _readOnlyProperty; public string ReadOnlyProperty { get { return _readOnlyProperty; } } }
public class MyClass { public MyClass(string readOnlyProperty) { this._readOnlyProperty = readOnlyProperty; } private string _readOnlyProperty; public string ReadOnlyProperty { get { return _readOnlyProperty; } } }