C# Tutorial for Beginner : Chapter 5 Class and Instance
INTRODUCTION A class resembles a blueprint of particular object. In reality, each object has some shading, shape and functionalities. For instance, the extravagance car Ferrari. Ferrari is an object of the extravagance car compose. The extravagance car is a class that indicate certain trademark like speed, shading, shape, inside and so forth. So any organization that makes a car that meet those necessities is an object of the extravagance car write. For instance, each and every car of BMW, Honda, Porsch are an object of the class called 'Extravagance Car'. Here, 'Extravagance Car' is a class and each and every physical car is an object of the extravagance car class. Image 1. Component of class Class consists of class variables, constructors, and methods. Back again to the example of the car. Every car must have a name like BMW or Honda. In class, this car's name is a variable of the class. The car performs a function that has been designed fro...