TL;DR: Don't define too many unrelated constants in the same class. Don't pile up the junk together. Problems Bad Cohesion High Coupling Magic Numbers Single Responsibility principle violation Solutions Break the contents following Real World...

Markdown supported · ⌘↵ to post
Interesting point of view. How do you feel about a class of classes, e.g.
public static class GlobalConstants { public static class MaxPlayers { public const int MaxPlayers = 10; } public static class DefaultLanguage { public const string DefaultLanguage = "en-US"; } public static class Math { public const double Pi = 3.14159; } }