Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var foo = new Test.Foo()
            {
                Name = "조명근", Age = 28
            };

            foo.Print();
            foo.PrintEx();
            var bar = new Test.Bar()
            {
                Name = "순이", Age = 21, Gender = "female"
            };

            bar.Print();
            bar.PrintEx();

            var k = new Test.Eunl()
            {
                Name = "철이", Age = 100, Company = "NASA"
            };

            k.Print();
            k.PrintEx();

            Console.ReadKey();
        }