No. That wud be caught at compile time.
Moreever, conceptually, as u cant create an instance of an abstract class (they are meant fr inheritance only) , there is no point having a private member in an abstract class.

Thanx and Regards
Ashish
vikas_arora80 <[EMAIL PROTECTED]> wrote:

Guys,

I am quite new to C-Sharp , so please bear fro a few days.

Talking of abstract classes :

abstract class AbstractFactory
{
  // Methods
  abstract public AbstractProductA CreateProductA();
  abstract public AbstractProductB CreateProductB();
}

Can the abstract classes have private members?

Please reply.





__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Yahoo! Groups Sponsor
ADVERTISEMENT


Yahoo! Groups Links

Reply via email to