Alois Kraus

blog

  Home  |   Contact  |   Syndication    |   Login
  106 Posts | 8 Stories | 294 Comments | 162 Trackbacks

News



Article Categories

Archives

Post Categories

Image Galleries

Programming

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 ......