A class is like a blueprint of a specific object. In the real world everything is an object of a particular type (class), every object has some attributes or features such as size, color, shape and some functionalities. For example Audi is an object of the car type. Car is a class that specifies certain characteristics like speed, color, shape, interior etc. So any company that makes a car that meets those requirements is an object of the car type. For example, every single car of Audi, BMW, and Jaguar are an object of the class called ‘Car'. Here, ‘Car' is a class and every single physical car is an object of the Car class.
In object oriented programming, a class is a template that defines the form of object. A class defines certain properties, fields, events, methods etc. A class defines the kinds of data and the functionality their objects will have. A class enables you to create your own custom types by grouping together variables of other types, methods and events.
- class <class name>
- {
- body of the class....
- }
The general form is expanded below to show the fact that the class body can contain data members (variables) as well as methods (function).
- access specifier class <class name>
- {
- access specifier datatype variable 1;
- access specifier datatype variable 2;
- ............
- ............
- access specifier return type methodname1(parameter list)
- {
- ... body of method
- }
- access specifier return type methodname2(parameter list)
- {
- ... body of method
- }
- }


Kapil GaurPosted Jul 9, 2019, 4:03 AM
If you want to understand this article via video then take a look here https://www.c-sharpcorner.com/article/understanding-class-in-layman-way/
YERRIPILLI POTT SRINIVASA RAOPosted May 6, 2019, 8:47 AM
The concept is lucid and found it very interesting. Thank you
Makinde A. IsraelPosted Feb 15, 2019, 1:07 AM
that's grate, an explanation in its simplest form
Viknaraj ManogararajahPosted Jul 19, 2018, 6:47 AM
Nice Article...........