public override bool a(object A_0)
        {
            MyPair <A, B> pair = A_0 as MyPair <A, B>;

            if (pair == null)
            {
                throw new Exception("Cannot equate dissimilar MyPair objects");
            }
            return(this.a(pair));
        }
 public static bool b(MyPair <A, B> A_0, MyPair <A, B> A_1)
 {
     return(A_0.a(A_1));
 }
 public bool a(MyPair <A, B> A_0)
 {
     return(A_0.a.Equals(this.a) && A_0.b.Equals(this.b));
 }