Properties In C#

added by DotNetKicks
10/22/2020 5:36:46 PM

436 Views

Property in C# is a member of a class that provides a flexible mechanism for classes to expose private fields. Internally, C# properties are special methods called accessors. A C# property have two accessors, get property accessor and set property accessor. A get accessor returns a property value, and a set accessor assigns a new value.


0 comments