Namespace constant in C#

前端 未结 4 1359
感动是毒
感动是毒 2020-12-08 00:07

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         


        
4条回答
提交回复
热议问题