static void Main(string[] args) { ClassA a = new ClassA(); //classA a = new classB(); //classB a = new classA(); a.Display1(); Console.ReadLine(); }
static void Main(string[] args) { ClassA a = new ClassA(); //classA a = new classB(); //classB a = new classA(); a.Display1(); Console.ReadLine(); }