Standing on the shoulders of giants. RSS 2.0
# Thursday, November 20, 2003

Today I discovered it's not possible to define a DateTime member as a const and attributes will only take const, typeof's and array creators as parameter.

So this won't compile:

private const DateTime myDateTime = DateTime.MinValue; // Personally I think DateTime.MinValue can be assumed to be a constant.

nor will this:

[NullValue( DateTime.MinValue )]

 

Thursday, November 20, 2003 1:17:39 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Development
Comments are closed.
About
© Copyright 2009
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.8275.16006
All Content © 2009, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)