C# what does the == operator do in detail?

Posted by clamp on Stack Overflow See other posts from Stack Overflow or by clamp
Published on 2009-04-30T09:03:44Z Indexed on 2010/04/07 2:23 UTC
Read the original article Hit count: 421

Filed under:
|
|

in c# what does exactly happen in the background when you do a comparison with the "==" operator on two objects? does it just compare the addresses? or does it something like Equals() or CompareTo() ?

PS: what about the "==" operator in java? does it behave the same?

© Stack Overflow or respective owner

Related posts about c#

Related posts about equals