int a = 1;
short b = 1;
object o1 = a;
object o2 = b;
Console.WriteLine(o1.Equals(o2));
This returns false since the type a and b are not the same. But is there a
way the two objects behave like they would be not in boxed state?
How can I determine wheather 2 boxed objects are the same (It has to take
care of implicit boxing and integer promotion and so on)?
--
cody
[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk