+ 2
get and set in C# what can does to me in my app
1 Resposta
+ 1
Do you think set get methods for setting/getting class attributes?If yes,well. Set/get methods give you the standard coding style to operate with attributes and mainly you can add extra checks of values which your app deals with and you are able to rais an exception if some format is unexpected.