Comparing Values for Equality in .NET: Identity and Equivalence (Part 3)

Continued from part 1 and part 2: Care with == and Reference Types One final thing to note is that operator overloads dont behave like overrides. If you use the == operator with reference types without thinking this can be a problem. For example, suppose you have an untyped DataSet ds containing a DataTable dt. … Continue reading Comparing Values for Equality in .NET: Identity and Equivalence (Part 3)