如何在cloud9中爲C#引用mscorlib
?Hello World不適用於Cloud9上的C#
爲世界你好的樣本代碼不起作用
using System;
public class Hello2
{
public static void Main()
{
Console.WriteLine("Hello, World!");
}
}
,因爲它發出了以下錯誤:
error: expected nested-name-specifier before ‘System’ using System;
error: ‘System’ has not been declared
error: expected unqualified-id before ‘public’
public class Hello2
只需右鍵點擊引用,那裏你可以看到現有的程序集mscorlib –