ColoredConsole 0.2.0
See the version list below for details.
dotnet add package ColoredConsole --version 0.2.0
NuGet\Install-Package ColoredConsole -Version 0.2.0
<PackageReference Include="ColoredConsole" Version="0.2.0" />
paket add ColoredConsole --version 0.2.0
#r "nuget: ColoredConsole, 0.2.0"
// Install ColoredConsole as a Cake Addin #addin nuget:?package=ColoredConsole&version=0.2.0 // Install ColoredConsole as a Cake Tool #tool nuget:?package=ColoredConsole&version=0.2.0
Add some color to your console.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ColoredConsole:
Package | Downloads |
---|---|
ExceptionHelper
Exception helper functions |
|
Assignment5ConsoleApp
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on ColoredConsole:
Repository | Stars |
---|---|
8T4/c4sharp
C4Sharp (C4S) is a .net library for building C4 Model diagrams.
|
0.2.0:-
ColorConsole.WriteLine("Now set ".Yellow().BlueBackground(), "the background color too!".Cyan().MagentaBackground());
var text = new ColorText("With or without ", "masking".Magenta().DarkMagentaBackground(), ".");
ColorConsole.WriteLine(text.Coalesce(ConsoleColor.DarkYellow));
ColorConsole.WriteLine(text.Coalesce(ConsoleColor.DarkCyan, ConsoleColor.DarkRed));
Initial release:-
ColorConsole.WriteLine("Hello ".Yellow(), "world!".Cyan());
ColorConsole.WriteLine(
"It's so easy to add some ", "color".Red(), " to your console.");
ColorConsole.WriteLine(
"Even ", "dynamically!".Color((ConsoleColor)new Random().Next(1, 14)));
var text = new ColorText("You can even use ", "masking".Magenta(), ".");
ColorConsole.WriteLine(text.Coalesce(ConsoleColor.DarkYellow));
ColorConsole.WriteLine(text.Coalesce(ConsoleColor.DarkCyan));