datetime as constant

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhii
    New Member
    • Feb 2008
    • 30

    datetime as constant

    hi everyone,
    can anyone please tel me that can i have date time object as constant if no..then why it is?
  • dzenanz
    New Member
    • Feb 2008
    • 45

    #2
    Well, obviously you can not. Only basic types (byte, uint, and so on) and references=null can be declared const. Ask M$ why they decided to do so...

    Comment

    Working...