C#中含有多个Main函数的处理


using System;

namespace CSharp.chapter01
{
    class helloworld1
    {
        static void Main()
        {
            Console.WriteLine("hello, world 1");
        }
    }

    class helloworld2
    {
        static void Main()
        {
            Console.WriteLine("hello, world 2");
        }
    }
}



你可能感兴趣的:(C#)