示例#1
0
文件: Tuple2.cs 项目: c0ding/reproto
        public override Boolean Equals(Object other)
        {
            Tuple2 o = other as Tuple2;

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

            if (!this.a.Equals(o.a))
            {
                return(false);
            }

            if (!this.b.Equals(o.b))
            {
                return(false);
            }

            return(true);
        }