예제 #1
0
        public Agent()
        {
            Console.WriteLine("****agent****");
            People people = new People()
            {
                Id   = 1,
                Name = "agent",
                Age  = 12
            };

            IAgent agent = new Agents();

            agent.Exec(people);

            agent = new AgAgents();
            agent.Exec(people);
        }