How do you compile C#?

后端 未结 14 1911
日久生厌
日久生厌 2021-01-18 15:11

So, I was wondering how to compile C#. I have Windows 7 Enterprise. Is there a built-in program or do I have do download one?

If I have to download one, what do you r

14条回答
  •  耶瑟儿~
    2021-01-18 15:46

    Your choices are:

    1. csc.exe (the command line compiler), which is in c:\Windows\Microsoft.Net\Framework\v4.0.30319\
    2. Install Visual Studio Express, the free edition of VS, for Windows/Console Applications, Web Applications, or Windows Phone Applications
    3. Purchase a license for Visual Studio 2010 or get an MSDN subscription

提交回复
热议问题