C# Language Public Get

Download C# Language for free

Example

Getters are used to expose values from classes.

string name;
public string Name
{
    get { return this.name; }
}
Public Set