Alois Kraus


  Home  |   Contact  |   Syndication    |   Login
  133 Posts | 8 Stories | 368 Comments | 162 Trackbacks



Post Categories


February 2010 Entries

Come on that is easy: bool Equals(object other) compares all member variables of another object instance to the current instance. bool Equals(T other) does the same thing but expects an object of the same type than our self. This method is defined by the IEquatable<T> interface. int GetHashCode() calculates of the internal state of the current object a mostly unique identifier. Mostly because if you have more than 2^32 object states some values must collide. Most of the time you do not need ......