FIELD
static readonly field
Defines type-owned storage that can be assigned during static initialization but not ordinary later reassignment.
Formal Syntax & Structure
csharp syntaxcsharp
public static readonly int Limit = 10;Working Example
Example Snippetcsharp
public static readonly int Limit = 10;