Class is nothing but blue print of an object, which are having properties and methods. A class can have below types
Example:
Class SimpleClass
{
Properties,
Methods.
}
In C#, we have different types of classes.
1. Abstract Classes
2. Concrete Classes
3. Sealed Classes
4. Partical Classes
5. Static Classes
- Constructors
- Destructors
- Fields
- Methods
- Properties
- Indexers
- Delegates
- Events
- Nested Classes
Example:
Class SimpleClass
{
Properties,
Methods.
}
In C#, we have different types of classes.
1. Abstract Classes
2. Concrete Classes
3. Sealed Classes
4. Partical Classes
5. Static Classes
Post a Comment
Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.