title: C# what does the == operator do in detail?
body: <p>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() ?</p>
  
  <p>PS: what about the "==" operator in java? does it behave the same?</p>