static void Test1() { Console.WriteLine("--- Test1"); ZClass <string, double> z = new ZClass <string, double>(); z.MethodA("hi"); z.MethodA(5.0); z.MethodA(); }
static void Test1() { Console.WriteLine("--- Test1"); ZClass <string, double> z = new ZClass <string, double>(); z.MethodA <string>("hi"); // 1 z.MethodA <short>(2.71828); // 2 z.MethodA <int>(); // 2 int r = z.MethodA <int>("hi", 5.5); }