Beispiel #1
0
        static void Inhritance()
        {
            ModelXTerminal terminal = new ModelXTerminal("123");

            terminal.Connect();

            Console.ReadLine();
        }
Beispiel #2
0
        static void InheritanceRealisation()
        {
            ModelXTerminal terminal = new ModelXTerminal("123");

            terminal.Connect();

            Console.WriteLine($"Show Terminal Actions]");
        }
Beispiel #3
0
        static void InheritanceDemo()
        {
            ModelXTerminal xTerminal = new ModelXTerminal("mx01");

            xTerminal.Connect();
            ModelYTerminal yTerminal = new ModelYTerminal("my02");

            yTerminal.Connect();
        }