Saturday, July 21, 2007

Const Keyword

Const keyword specifies that the value of the field or the local variable cannot be modified

Types supported: byte, char, short, int, long, float, double, decimal, bool and string

A constant expression is an expression that can be fully evaluated at compile time. Therefore, the only possible values for constants of reference types are string and null

No comments:

Post a Comment