31 ms·
It's going to box them into objects, which will cause it to return false. object i = 0; //object, so we will cause no boxing Object.ReferenceEquals(i, i);/
by TeHCrAzY 17y ago
It's going to box them into objects, which will cause it to return false.
object i = 0; //object, so we will cause no boxing
Object.ReferenceEquals(i, i);//now refering to the same objects, returns true;