Click here to Skip to main content
14,937,268 members
Please Sign up or sign in to vote.
1.25/5 (4 votes)
See more:
where exactly we will use abstract class in c#.net implimentation?
Posted
Comments
Sandeep Mewara 5-May-10 2:28am
   
Reading... Learning... Applying can help you know/understand where exactly you should use!

Everywhere. Anywhere. Where appropriate.

This question wins the award for the most general question of the day. I suggest you do a little more learning (e.g., by reading a book) before asking the answer to life, the universe and everything.
   
An abstract class is good to use when you need to add some default functionality in your base class.
   
v2
From MSDN [^]:

Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes.


:)
   

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