In other words, it's the runtime, ..
The VES is defined as an abstract machine and should be viewed as such. The
details of how a conforming implementation implements the VES (via
JIT/execution by software code/interpreted by monkey/hybrid etc.) are not
relevent. The CLR conforms, therefore
Oops, the "code" below should be defining a struct, not a class (i.e.
"struct NullableDateTime).
Cheers,
Blake
> -Original Message-----
> From: Blake Ryan [mailto:[EMAIL PROTECTED]]
> Sent: 13 May 2002 11:20
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET]
3 solutions come to mind:
(a) use DateTime.MinValue to represent null
(b) box the DateTime value (i.e. pass it as an object)
(c) write a NullableDateTime class
The 3rd is the only really "proper" way to do it, as it doesn't assume
anything about the DateTime value (as (a) does) or prevent stat