Martin said:
Meaning that it's shared between all instances of the class.
const can be applied to members or to variables to indicate that the
value cannot be modified:
http://msdn.microsoft.com/en-us/library/e6w8fe1b(VS.80).aspx
In C# it means both more and less that simply that the value won't be
modified.
More, because it actually has to be a compile-time literal, and the compiler
is allowed to substitute the literal value everywhere the const variable
appears. In essence, the const field exists only in the metadata.
Less, because you can't mark anything as "const" except static fields,
unlike C++ where variables and access through pointers can be marked "const"
(can't modify the value) anywhere they appear, including function arguments
and even the "this" pointer.
C#'s "readonly" comes a lot closer to a simple marker "cannot be modified
after creation".