What is Simple Class in c# with example

Class is nothing but blue print of an object, which are having properties and methods. A class can have below types

  1. Constructors
  2. Destructors
  3. Fields
  4. Methods
  5. Properties
  6. Indexers
  7. Delegates
  8. Events
  9. 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

Share this post :

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.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar