I want to know the best way to compare two objects and to find out if they\'re equal. I\'m overriding both GethashCode and Equals. So a basic class looks like:
wouldn't a function Equals always test only against the same type, shouldn't it be:
//override public bool Equals(Test other)//(object obj) { //return GetHashCode() == obj.GetHashCode(); return (Value == other.Value) && (String1 == other.String1) && (String2 == other.String2); }
regards Oops