G
Guest
_value and valDoublet are both from type object. I think no one will expect
this behavior. ;-)
Console.WriteLine(string.Format("{0} == {1} = {2}", _value, valDoublet,
(bool) _value == (bool) valDoublet));
Console.WriteLine(string.Format("{0} == {1} = {2}", _value, valDoublet,
_value == valDoublet));
False == False = True
False == False = False
this behavior. ;-)
Console.WriteLine(string.Format("{0} == {1} = {2}", _value, valDoublet,
(bool) _value == (bool) valDoublet));
Console.WriteLine(string.Format("{0} == {1} = {2}", _value, valDoublet,
_value == valDoublet));
False == False = True
False == False = False