示例#1
0
        static void Main()
        {
            var test = new MethodOverloads();

            test.Foo(33);
            test.Foo("abc");
            test.Bar(44);
        }
示例#2
0
        static void Main()
        {
            var test = new MethodOverloads();

            test.Foo(33);
            test.Foo("abc");
            test.Foo(true);
            test.Bar(44);
            Console.ReadLine();
        }