注意大小些!
main/Main
console/Console
writeln/WriteLine 

解决方案 »

  1.   

    我用了using System;了,但是错误还在,只是转到using system;这行了,也还是SYSTEM没有定义,大小写我也注意了,还是没用 :(
      

  2.   

    csc /t:exe /r:mscorlib.dll test.cs
      

  3.   

    C# is a case sensitive language. In your codes, "system.console.writeline("fuck microsoft")", csc can't identify in the namespace.this is my sample code, using System;public class Test{
    public static void Main(){
    Console.WriteLine("Hello, World!");}
    }csc test.cstry it, thanks