Equals comparison with a nullable type on another nullable type
<p>I have two objects(of the same type) which contains a prop <code>myprop</code> of type <code>byte?</code>. The properties are set to <code>null</code>. When I perform <code>objectA.myprop.Equals(objectB.myprop)</code> I get 'true' as a result although the <a href="http://msdn.microsoft.com/en-us/library/edakx9da.aspx" rel="nofollow">MSDN</a> code sample states that "Equals applied to any null object returns false."</p>

<p>I'm guessing C# uses a seperate overload for nullable type comparisons. I would like to know how C# internally treats objects versus nullable types in this case.</p>
