// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; public class TupComp72 { public static void Main(string[] args) { var t1 = (a: 123, b: 456); var t2 = (a: 123, b: 456); Console.WriteLine(t1.a == t2.a && t1.b == t2.b); } }