예제 #1
0
    static void Main(string[] args)
    {
        var t = new P2();

        p = t;
        ((P2)p).DoWork();
        t.DoWork();
        Console.ReadLine();
    }