C#程序除了在.net环境上运行编译之外,还有什么更简单的方法,只是做一些用C#编写一些小程序,在记事本里面写,在线等,急

解决方案 »

  1.   

    csc /out:1.exe Test.cs
    csc /t:library /r:System.dll /r:System.Web.dll /out:Test.dll Test.cs
      

  2.   

    如果只是编译小段代码,SnippetCompiler这个工具很有用处,
    你可以到这里去下载:
    http://www.sliver.com/dotnet/SnippetCompiler
      

  3.   

    .net framework自带有C#编译器 csc
    设置好环境变量后就能用了
      

  4.   

    SnippetCompiler不错,可以编译单个文件
      

  5.   

    开始-〉程序-〉.net tools->command prompt
      

  6.   

    SnippetCompiler 这个我安装了,好像也可以用了,怎么执行我的程序,怎么进行debug?