I am compiling my first "Hello World" program of C# in mono compiler persist error
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).
C# namespaces are case-sensitive. The namespace System
needs to be capitalized when you reference it, either in a using
statement as in:
using System;
or in a fully-qualified reference like this:
System.Console.WriteLine("Hello, World!");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.