Thanks for correcting me on the value/reference thing. I still don't
understand the original comment that the nullable value cannot be used in an
equality expression. As far as I can see, the example I posted does exactly
what would be needed.
Patrick Earl
On Tue, Dec 7, 2010 at 9:16 AM, David Pfeffer <[email protected]> wrote:
> Additionally, Nullable<T> == null syntax is, IIRC, syntactic sugar for
> Nullable<T>.HasValue.
>
>
> On Tue, Dec 7, 2010 at 11:13 AM, David Pfeffer <[email protected]> wrote:
>
>> Nullable<T> is defined as a struct, a value type.
>>
>> [SerializableAttribute]
>> public struct Nullable<T>
>> where T : struct, new()
>>
>>