what does get set mean
In simple terms they are referred as property accessors. Their implementation can be explained as below. 1.get{ return name} The code block in the get accessor is executed when the property is Read. 2.set{name = value} The code block in the set accessor is executed when the property is Assigned a new value. Eg.(Assuming you are using C#) class Person { private string name; // the name field public string Name // the Name property { get { return name; } set { name = value; } } }