예제 #1
0
파일: app1.cs 프로젝트: YarNik/Solvve-ISD
        static void Main(string[] args)
        {
            int x = MyClass <int> .FactoryMethod <int>();

            Test test = MyClass <Test> .FactoryMethod <Test>();

            test.Id = 254;
            Console.WriteLine(x);
            Console.WriteLine(test.Id);
            Console.ReadLine();
        }