fork download
  1. using System;
  2. using System.IO;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. int a = 0;
  9. int b = 1;
  10. string s = string.Format("{0} {1}", a, b);
  11. switch (s)
  12. {
  13. case "0 1":
  14. Console.WriteLine("0 1");
  15. break;
  16. default:
  17. Console.WriteLine("default");
  18. break;
  19. }
  20. }
  21. }
Success #stdin #stdout 0.01s 131136KB
stdin
Standard input is empty
stdout
0 1