Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

repl.it does not support System.UI namespace in C#?

AmirBayramaliev
AmirBayramaliev

Error message from compiler:

Mono C# compiler version 4.6.2.0
 mcs -out:main.exe main.cs
main.cs(2,14): error CS0234: The type or namespace name UI' does not exist in the namespaceSystem'. Are you missing an assembly reference?
main.cs(4,13): error CS0246: The type or namespace name TextWriter' could not be found. Are you missingSystem.IO' using directive?

4 years ago
You are viewing a single comment. View All
1
1
AmirBayramaliev
AmirBayramaliev

@niorg2606
I understand that GUI-related classes should not work here, but I expected it to be able to play with some IO stream classes like TextWriter.

Thanks for reply.

4 years ago
1
SixBeeps
SixBeeps

@AmirBayramaliev
TextWriter uses System.IO, not System.UI

4 years ago