I recently found out the Comparer class that can be used to compare two objects that may potentially be null. It runs 3 times faster than any code you can write.

I wonder if there is such class for checking equalities. (I.E. Invoking Equals method instead of CompareTo method)

Also, please share with us on any little known class that exist in the API which we can use avoid writing boiler plate codes.