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

C# Language Public Set


Example

Setters are used to assign values to properties.

string name;
public string Name 
{
    set { this.name = value; }
}