properties
what is the purpose of properties?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jul 9, 2013, 12:06 AM
Properties are smart fields. Smart being you can add logic when you want to get or set the value. Usage example: if you want to validate the values being set to a property or if you want to combine values from different fields without exposing those fields to the public.
Refer the below links
http://msdn.microsoft.com/en-us/library/w86s7x04(v=vs.80).aspx
http://www.codinghorror.com/blog/2006/08/properties-vs-public-variables.html
Regards,
Iftikar
Riyaz AkhtarPosted Jul 8, 2013, 11:52 PM
http://www.c-sharpcorner.com/UploadFile/rajeshvs/PropertiesInCS11122005001040AM/PropertiesInCS.aspx
VulpesPosted Jul 8, 2013, 6:58 PM
Posted Jul 8, 2013, 6:14 PM
https://www.google.com/search?sitesearch=dotnetperls.com&q=Properties+
Sanjeeb LenkaPosted Jul 8, 2013, 12:38 PM
http://www.dotnetspider.com/tutorials/DotNet-Tutorial-273.aspx
http://www.c-sharpcorner.com/UploadFile/rajeshvs/PropertiesInCS11122005001040AM/PropertiesInCS.aspx