private static void Main(string[] args) { Console.WriteLine("-*-*-*-*-* GenericClass1.GenericClass1Main *-*-*-*-*-"); GenericClass1.GenericClass1Main(); Console.ReadLine(); }
static void Main(string[] args) { GenericClass1 <float, int> obj1 = new GenericClass1 <float, int>(); GenericClass1 <string, char> obj2 = new GenericClass1 <string, char>(); obj1.Display(3.2f, 9); obj2.Display("test", 'a'); Console.ReadLine(); }