Install-Package FeatureSwitcher
class Colorize : IFeature {}
static void Main(string[] args)
{
if (Feature<Colorize>.Is().Enabled)
{
Console.BackgroundColor = ConsoleColor.Blue;
Console.ForegroundColor = ConsoleColor.Yellow;
}
Console.WriteLine("Hello world!");
}