What is getter setter in C#?

Basically getters and setters are just means of helping encapsulation . When you make a class you have several class variables that perhaps you want to expose to other classes to allow them to get a glimpse of some of the data you store.

Sizin İçin Seçtik  How do I get getters and setters in Visual Studio?

Leave a Reply

Your email address will not be published. Required fields are marked *