Santosh Yadav

Santosh Yadav

  • NA
  • 254
  • 115.3k

Properties vs Public variables inside the class

Oct 15 2013 2:35 AM
Please demonstrate me what is the actual differences b/w properties and variables and why should we use properties in side a class instead of variables ?
I think variables can fulfill our all the requirements then what is the need to use properties ? I'm searching about this topic from a couple of days but not get the satisfaction from the solutions.

Thanks & Regards

Santosh Kumar Yadav

Software Developer

Answers (2)