Example #1
0
 public void ToTuple()
 {
     KeyValuePair<int, string> k = new KeyValuePair<int, string> (42, "42");
     var t = k.ToTuple ();
     Assert.AreEqual (k.Key,   t._1);
     Assert.AreEqual (k.Value, t._2);
 }