C# Abstract classes

Newbie Member
30Oct2006,08:06   #1
advaster's Avatar
Hello everybody

Can someone help with the explanation of the abstract classes. Why should I use abstact

classes it will be empty class for derived classes, what will they derive.

Thanx in advance.

Go4Expert Founder
30Oct2006,13:58   #2
shabbir's Avatar
Quote:
Originally Posted by advaster
Can someone help with the explanation of the abstract classes.
An abstract class, is one that is designed only as a parent class and from which child classes may be derived, and which is not suitable for instantiation.
Quote:
Originally Posted by advaster
Why should I use abstact
To give the same interface to all the derived classes
Quote:
Originally Posted by advaster
classes it will be empty class for derived classes, what will they derive.
They will derive classes.
Newbie Member
30Oct2006,21:42   #3
advaster's Avatar
Thanx for help shabbir

Go4Expert Founder
31Oct2006,10:14   #4
shabbir's Avatar
Quote:
Originally Posted by advaster
Thanx for help shabbir

My pleasure.