Setters are used to assign values to properties.
string name; public string Name { set { this.name = value; } }