예제 #1
0
        static void Main(string[] args)
        {
            List<Employee> list = new List<Employee>();
            list.Add(new Manager());
            list.Add(new CEO());
            foreach (var e in list)
            {
                e.Draw();
            }

            CEO o = new CEO();
            o.Draw();

            Console.ReadLine();
        }