C# playground
using System; public class Greeter { public static void Greet(string name) { Console.WriteLine($"Hello, {name}!"); } public static void Main(string[] args) { Greet("World"); } }
C# is a general-purpose, multi-paradigm, statically typed programming language. It began as a Windows-only alternative to Java, but later gained popularity across platforms.
⛫ homepage • αω tutorial • ⚘ community
Sandbox details
C# version: 7.0
.NET version: 4.7
Mono version: 6.12
sandbox engine: codapi
sandbox name: mono
allowed commands: run
in-browser: ✘
Usage example:
```csharp
using System;
public class Greeter {
public static void Main(string[] args) {
Console.WriteLine("Hello, World!");
}
}
```
<codapi-snippet sandbox="mono" editor="basic">
</codapi-snippet>