Sunday, 11 August 2013

How does compare objects work in C#

How does compare objects work in C#

How does the compiler know if two objects are the same or they are
different? Is it comparing all properties, fields, private variables, etc?
Or internally it assigns an unique identification for each object?

No comments:

Post a Comment