fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int a = 2;
  8. int b = 1;
  9. Swap(ref a, ref b);
  10. Console.WriteLine("{0} < {1}", a, b);
  11. }
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(9,1): error CS0103: The name `Swap' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty