Beispiel #1
0
        static void Main(string[] args)
        {
            Animal Lion  = new Animal();
            Animal Tiger = new Animal();

            Tiger.SetMe("Tiger", 100);
            Tiger.Show();
            Console.WriteLine();
            Lion.SetMe("Lion", 200);
            Lion.Show();
        }