Archive for October, 2007

Equals vs ==

08Oct07

Where should you use Equals() and where should you use == ? I’ll start off with defining two terms.
Identity – When comparing on identity we are checking to see if these variables are actually pointing to the same objects.
Equivalence – When comparing with equivalence we are checking to see if these objects are equal based [...]