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.

Best quality Asp .Net Ajax Control Toolkit tutorials.

Give your valuable comments.

1 + 6 =

About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2024 CodingFusion
50+ C# Programs for beginners to practice