C# Inheritance & Intellisense : accessing base class methods
Posted on 2005-04-25
Does this just not work in C#?
I have a base class with a method, let's say BaseMethod.
Also a class that inherits from the base class, let's call it InheritClass with a method InheritClassMethod.
In another class, I instantiate the InheritClass, eg. InheritClass myInheritClass = new InheritClass();
The problem : when I type in a C# project : myInheritClass. *dot* the intellisense pops up. But intellisense shows only InheritClassMethod, but it doesn't show BaseMethod.
When I type myInheritClass.BaseMethod, the project compiles and runs with no errors. So it's just the intellisense that doesn't show this. In VB.Net intellisense does show this method BaseMethod.
Is there a solution to solve this in C#?