a fix for the latest comment in #26 .
Using a static class does not indicate that it is used only for holding constants. Usually a class name qualifier is used for this (e.g. static class Constants). I think the sentence should just say that it is a recommended way to define constants, following the conventions for defining constants in the Microsoft C# Programming Guide. An explanation for this can be that static classes can only hold static members, including constants, and it cannot be mistakenly instantiated or derived from.
a fix for the latest comment in #26 . Using a static class does not indicate that it is used only for holding constants. Usually a class name qualifier is used for this (e.g.
static class Constants
). I think the sentence should just say that it is a recommended way to define constants, following the conventions for defining constants in the Microsoft C# Programming Guide. An explanation for this can be that static classes can only hold static members, including constants, and it cannot be mistakenly instantiated or derived from.