fork(1) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string a = "hui";
  8. int b = 42;
  9.  
  10. var p = new {key = a, value = b};
  11.  
  12. string a2 = "hui";
  13. int b2 = 42;
  14.  
  15. var p2 = new {key = a2, value = b2};
  16. Console.WriteLine(p.GetType() == p2.GetType());
  17. }
  18. }
Success #stdin #stdout 0.04s 23856KB
stdin
Standard input is empty
stdout
True