[英]The type or namespace 'system' could not be found. Are you missing an assembly reference?
I am compiling my first "Hello World" program of C# in mono compiler persist error我正在单声道编译器中编译我的第一个 C#“Hello World”程序持久性错误
The type or namespace 'system' could not be found.
找不到类型或命名空间“系统”。 Are you missing an assembly reference?
您是否缺少程序集参考?
I googled it and it says I need to add reference and it isn't available for mono compiler.我用谷歌搜索它,它说我需要添加引用,它不适用于单声道编译器。 I don't know where and what to add.
我不知道在哪里添加什么。 Kindly guide me.
请指导我。
The error message you've posted indicates that you are attempting to reference something in a namespace called system
(note: lowercase).您发布的错误消息表明您正在尝试引用名为
system
(注意:小写)的命名空间中的某些内容。
C# namespaces are case-sensitive. C# 命名空间区分大小写。 The namespace
System
needs to be capitalized when you reference it, either in a using
statement as in:命名空间
System
在您引用它时需要大写,无论是在using
语句中,如:
using System;
or in a fully-qualified reference like this:或在像这样的完全限定的参考文献中:
System.Console.WriteLine("Hello, World!");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.