Looking for c# Answers? Try Ask4KnowledgeBase
Looking for c# Keywords? Try Ask4Keywords

C# Language Public Get


Example

Getters are used to expose values from classes.

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