Information Technology Reference
In-Depth Information
class Program {
static void Main()
{
Derived d = new Derived(); // Create class object
d.PrintOut("object."); // Call method
}
}
Figure 17-7 illustrates the preceding code. Notice that the arrow from IIfc1 goes down to
the code in the base class.
Figure 17-7. Implementation in the base class
Search WWH ::




Custom Search