internal bool CheckKey(string text1, string text2)
 {
     return((Element1.Equals(text1) && Element2.Equals(text2)) || (Element1.Equals(text2) && Element2.Equals(text1)));
 }
Example #2
0
 public bool Equals(Pair <TZero, TOne> other)
 {
     return(Element0.Equals(other.Element0) && Element1.Equals(other.Element1));
 }