Lamont Jones

Lamont Jones

  • NA
  • 16
  • 0

Hiding an inherited class

Aug 18 2009 11:29 AM

 
 
 
public class ABC : WebPart
{

protected virtual void A()
{
//Do nothing
;
}
protected virtual void B()
{
//Do nothing
;
}
protected virtual void C()
{
//Do nothing
;
}
}
 
public class DEF : ABC
{

public D()
{

}
public E()
{

}
public F()
{

}
}

I have the two classes above. How can I hide the base class from the object browser?

Answers (2)