C# Class and Object
A class is a blueprint or a template for creating objects that define the properties and methods of the object. - A class is a user-defined data type that encapsulates data members (fields) and member functions (methods) into a single unit. - A Class is an entity that encapsulates all the properties of its objects an instance as a single unit. C# has 5 types of classes 1. Concrete Class: is a class that allows creating an instance or object using the new keyword. Unlike abstract class which can't be directly instantiated, a concrete class can be used to create objects directly. 2. Static Class: is defined by the keyword 'static' doesn't allow inheritance, therefore you can't create an object for a static class. - We can directly use static class in our program. - Sealed : Static classes are implicitly sealed, which means they cannot be inherited. - Static Members Only : All members of a static class must be static. This includes methods, properties, fields, and e...