0
kicks
C#/.NET Little Wonders: The ReferenceEquals() method
Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my past little wonders post can be found here.
Today we’re going to look at a very small, and sometimes helpful static method of the object class.  Of course, we know most of the key methods of the object class by heart, especially the ones we tend to override often. But this method is an often overlooked method that makes it easy to compare two object references, regardless of whether the == operator has been overloaded or not.