G
Guest
Hi folks,
I am trying to declare a datetime constant as follows:
(As a class member)
internal const DateTime m_FutureDate = new DateTime
(2199,1,1,0,0,0);
I am getting a compilation error:
The expression being assigned to 'm_FutureDate' must be
constant. Please let me know how to declare datetime
constants. thank you.
I am trying to declare a datetime constant as follows:
(As a class member)
internal const DateTime m_FutureDate = new DateTime
(2199,1,1,0,0,0);
I am getting a compilation error:
The expression being assigned to 'm_FutureDate' must be
constant. Please let me know how to declare datetime
constants. thank you.