Classes and Objects


Classes and objects are used everywhere in C# and .Net framework.

Class is a blueprint of creating a type which groups data and behavior of a type.

Class contains properties, methods and events.


Is a instance of a class.

public class Employee

Employee obj = new Employee();

Related Article

Leave a Reply

Your email address will not be published. Required fields are marked *