3
Answers

benefits of property

Ask a question
amit_gupta14

amit_gupta14

15y
3.6k
1

I have observed the following:
Whatever Get and Set can achive in property, same can be done by using 2 methods.
 
If any validation need to be done, that can be done in property as well as methods.
What's the benefit of using property?

Answers (3)