Is there any way to define a constant for an entire namespace, rather than just within a class? For example:
namespace MyNamespace { public const st
No, there is not. Put it in a static class or enum.