示例#1
0
        private void IntTest()
        {
            Console.WriteLine("\nInteger Test");
            int testInt = 10;
            var intTest = new GenericTest <int>();

            intTest.Test(testInt);
            var result = intTest.Result();

            Console.WriteLine("Result : " + result);
        }
示例#2
0
        private void StringTest()
        {
            string testString = "String Test";

            Console.WriteLine(testString);
            var stringTest = new GenericTest <string>();

            stringTest.Test(testString);
            var result = stringTest.Result();

            Console.WriteLine("Result : " + result);
        }