Why we use properties in C#?
Properties areused to read, write and compute the values of private fields.Properties can be used as though they are public data members, but they are actually special methods called accessors. This enables data to be accessed easily while still providing the safety and flexibility of methods.