static void Inhritance() { ModelXTerminal terminal = new ModelXTerminal("123"); terminal.Connect(); Console.ReadLine(); }
static void InheritanceRealisation() { ModelXTerminal terminal = new ModelXTerminal("123"); terminal.Connect(); Console.WriteLine($"Show Terminal Actions]"); }
static void InheritanceDemo() { ModelXTerminal xTerminal = new ModelXTerminal("mx01"); xTerminal.Connect(); ModelYTerminal yTerminal = new ModelYTerminal("my02"); yTerminal.Connect(); }