C2.meth1 C# (CSharp) Method

meth1() public method

public meth1 ( int i ) : void
i int
return void
    override public void meth1 (int i) {
        Console.WriteLine("C2::meth1<" + i + ")");
    }
}

Usage Example

    public static void Main()
    {
        C1 c1 = new C1();
        C2 c2 = new C2();

        c1.meth1 <string>(42);
        c2.meth1 <string>(49);
        c1.meth1 <int>(42);
        c2.meth1 <int>(49);
        c1 = c2;
        c1.meth1 <string>(53);
        c1.meth1 <int>(53);
        Console.WriteLine("Finished!");
    }
All Usage Examples Of C2::meth1