Back
C# Compiler
Reset
Clear
Run
Code
using System; class Program { static void Main(string[] args) { Console.WriteLine("Hello, C#!"); if (args.Length > 0) { Console.WriteLine("First arg: " + args[0]); } } }
STDIN (optional)
Args (space separated)
Output