Hello.
I have a generic container that has a past and present value stored as objects.
The container currently has bool types. Past and present are both true.
object a = past;
object b = present
bool same = past == present;
in the Visual Studio debugger I see the following in the watch window
a = true
b = true
past == present = true
same = false
However, if I use .Equals instead of equality I get
a = true
b = true
past == present = true
same = true
So my question is:
Is there a very critical difference between the Mono and MS Runtime?
Is there a bug in the watch window of the VS debugger?
Thanks!
↧