C# Property Get Set | C# Getter Setter: Encapsulation का मूल उद्देश्य ये है कि Object के Internal Data को केवल उसी Class का कोई Object Instance, Directly Access कर सके। इसीलिए Class के सभी Data Members को private Keyword के साथ Private Access में Define किया जाता है। इसलिए यदि कोई Caller, Object की State में परिवर्तन करना चाहता है, तो उसे Indirectly एक Public Method को Use करके Object की State में परिवर्तन करना पडता है। इस प्रक्रिया को हम निम्न … [Read more...]
C# Property Get Set | C# Getter Setter
Filed Under: C# Programming Language in Hindi Tagged With: c sharp get set, c sharp properties, c# accessor, c# automatic properties, c# extension property, c# fields, c# get, c# get and set, c# get set, c# get set example, c# getter, C# Getter Setter, c# getters and setters, c# gettype, c# properties, c# properties get set, c# property, c# property example, C# Property Get Set, c# readonly property, c# set, c# set get, c# setter, c# setter getter, c# value, csharp get set, get and set c#, get c#, get set c#, get set property c#, getter c#, getter setter c#, properties c#, properties in c#, property c#, property get set, readonly property c#, set c#, set get c#, set property c#, setter c#, static property c#