Properties in C# { get ; set; }
Access modifiers such as public, private, protected, and internal control the accessibility of fields and methods in C#. The public fields are accessible by other classes, but private fields are accessible only by the class in which they are declared.