Classes and Objects

Classes

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.

Object

Is a instance of a class.

public class Employee
{
	...
}

Employee obj = new Employee();

Related Article
Class

Leave a Reply

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