CLASS definition with example in C#.Net

CLASSES in C#

What is Class?
A class is a building which will enable to create your own custom types by grouping methods, other types and events.

  • A Class is a blueprint. 
  • A Class defines behavior(methods) and data(attributes) of the type
Class can have below things. 
  1. Fields
  2. Constants
  3. Properties
  4. Methods
  5. Constructors
  6. Destructors
  7. Events
  8. Indexers
  9. Operators
  10. Nested Types
Class AspNetTutorialOnline
{
Fields
Constants
Properties
Methods
Constructors
Destructors
Events
Indexers
Operators
Nested Types
}
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