Public Get

Download c# eBook

Example

Getters are used to expose values from classes.

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

Stats

Contributors: 1
2015-11-23
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook