Defining a Class

A C# class let’s you define a user-defined data type that contains fields, properties, and methods. A class serves as a blueprint for an object. The  object is the actual thing that follows the structure or possesses the properties and behaviors of the class. Read more