Пример #1
0
    static void Main(string [] args)
    {
        any_tester o = new any_tester();

        Console.WriteLine(o.myFn(("Hello")));
        Console.WriteLine(o.myFn((new SomeClass())));
        SomeClass obj2 = new SomeClass();

        Console.WriteLine(o.myFn((obj2)));
    }
Пример #2
0
    public static void testfn()
    {
        any_tester o = new any_tester();

        Console.WriteLine(o.myFn(("Hello")));
        Console.WriteLine(o.myFn((new SomeClass())));
        SomeClass obj2 = new SomeClass();

        Console.WriteLine(o.myFn((obj2)));
    }