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))); }
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))); }