Click here to Skip to main content
16,017,137 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do you declare a class in C#?
Posted
Comments
Herman<T>.Instance 15-Sep-11 17:02pm    
learn google
raj_sagoo 15-Sep-11 17:55pm    
i have a parkinson.

A class is an abstract representation for some particular type of object. It can be described as a template or blueprint for an object, as opposed to the actual object itself.
C#
[attributes] [modifiers] class identifier [:base-type]
{
  body [;]

}

Reference Link :- Declaring Classes[^]
In addition to this you can get plenty of article after googling for same question.
Link1[^]
Link2[^]
Link3-[How to Create Class][^]
Link4-[Introduction to Class][^]
 
Share this answer
 
Comments
raj_sagoo 15-Sep-11 17:55pm    
thanks
RaviRanjanKr 16-Sep-11 2:34am    
You are most welcome.
 
Share this answer
 
Comments
Sander Rossel 15-Sep-11 17:33pm    
It even translates to Dutch!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900