> I suspect you're not seeing what you think you're seeing.
Could you post a short but complete program which demonstrates the
problem?
See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Ok, here is the code:
public abstract class AbsClass
{
public abstract void MyMethod();
}
public class ConcClass : AbsClass
{
public override void MyMethod()
{
// implementation
}
}
public class StartupClass
{
public static void Main()
{
ConcClass c = new ConcClass();
// when writing the following line intellisense displays two
MyMethod() methods (AbsClass.MyMethod() and ConcClass.MyMethod())
c.MyMethod();
}
}
As I said, intellisense displays two MyMethod() methods, AbsClass.MyMethod()
and ConcClass.MyMethod(), although I don't see how I could "select" the one
on AbsClass.
Anyhow, I thought that I would be able to see only the concrete one (I
expected the base class method to be hidden by the concrete class override),
but apart this I don't see the sense in displaying the one on the abstract
class.
Bob Rock