C#
C# online compiler
Run C# online: compile a .NET console programme and type input in a live terminal. Free, no sign-up, and it works on a phone.
About this C# compiler
C# is a productive language on .NET. This playground compiles a single console file so you can explore syntax and I/O without Visual Studio.
Questions and answers
- Which version of C# is this?
- C# 9, on Mono 6.12. Records, init-only setters, pattern matching, switch expressions and top-level statements work. Features from C# 10 onwards, such as file-scoped namespaces and primary constructors, do not.