fork download
  1. using System;
  2.  
  3. public class Hello {
  4. public static void Main(string args) {
  5. Console.WriteLine("Hello? C#");
  6. Console.ReadLine();
  7. }
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(4,20): warning CS0028: `Hello.Main(string)' has the wrong signature to be an entry point
error CS5001: Program `prog.exe' does not contain a static `Main' method suitable for an entry point
Compilation failed: 1 error(s), 1 warnings
stdout
Standard output is empty