What are the two types of properties in Dot Net?

 Posted by vishalneeraj-24503 on 1/11/2014 | Category: Windows Forms Interview questions | Views: 3500 | Points: 40

We have 2 properties in Dot Net which are Get and Set.

Get is called as Read-only property whereas Set is used for setting any values to variables i.e. it's Write-only property.
Get is used for getting values from variables.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response