Ejemplo n.º 1
0
        public bool Equals(ValuePair <T1, T2> that)
        {
            if (that == null)
            {
                return(false);
            }

            return(object.Equals(First, that.First) && object.Equals(Second, that.Second));
        }
Ejemplo n.º 2
0
        public override bool Equals(Object obj)
        {
            ValuePair <T1, T2> that = obj as ValuePair <T1, T2>;

            if (that == null)
            {
                return(false);
            }

            return(Equals(that));
        }