By jamesling
via digcode.com
Published: Jul 24 2008 / 09:04
Understanding the mechanics of object equality is essential for programming logical expressions and is important when implementing operator overloads and casts. The mechanisms of object equality are different depending on whether you are comparing reference types (instances of classes), or value types (the primitive data types, instances of structs or enums). This article explains the equality of reference and value types independently.
Add your comment