DotNext by Roman Sakno

<PackageReference Include="DotNext" Version="1.2.7" />

 StringConst

public abstract class StringConst : Constant<string>
Represents string constant as generic parameter.
namespace DotNext.Generic { public abstract class StringConst : Constant<string> { public sealed class Null : StringConst { public const string Value = null; public Null() : base(null) { } } public sealed class Empty : StringConst { public const string Value = ""; public Empty() : base("") { } } protected StringConst(string value) : base(value) { } } }