Error!
Success!

Anonymous type equality follow-up: Equals()

0
kicks

Anonymous type equality follow-up: Equals()  (Unpublished)

After publishing yesterday's post on anonymous type equality, I received an interesting comment from a fellow redditor. He stated that even if the sequence of the property assignment were the same, the equality comparison would still return false, because the types generated by the C# compiler are reference types, making their references being tested for equality and not their data. This is very true, unless..


Kicked By:
Drop Kicked By: