예제 #1
0
            public override bool Equals(object rhsObj)
            {
                if (rhsObj == null)
                {
                    return(false);
                }

                Good6 rhs = rhsObj as Good6;

                return(this == rhs);                                    // calls a static method
            }
예제 #2
0
 public bool Equals(Good6 rhs)
 {
     return this == rhs;
 }
예제 #3
0
 public bool Equals(Good6 rhs)
 {
     return(this == rhs);
 }