|
-
Sep 20th, 2012, 01:39 PM
#3
Thread Starter
Frenzied Member
Re: what is the use of getter and setter?
Thank you. Could you elaborate on this "Also, it allows you to change the implementation at a later time, e.g. add a TextChanged event and raise it in the setter, without changing the interface and therefore without breaking any existing code that uses that property." I am not quite understanding this scenario.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|