A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/colored-console/colored-console/wiki/Quickstart below:

Quickstart · colored-console/colored-console Wiki · GitHub

using ColoredConsole;
// ...
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 [] {"You can even use ", "masking".Magenta(), "."};
ColorConsole.WriteLine(text.Mask(ConsoleColor.DarkYellow));
ColorConsole.WriteLine(text.Mask(ConsoleColor.DarkCyan));
using ColoredConsole;
// ...
ColorConsole.WriteLine("Now set ".Yellow().OnBlue(), "the background color too!".Cyan().OnMagenta());
var text = new[] {"With or without ", "masking".Magenta().OnDarkMagenta(), "."};
ColorConsole.WriteLine(text.Mask(ConsoleColor.DarkYellow));
ColorConsole.WriteLine(text.Mask(ConsoleColor.DarkCyan, ConsoleColor.DarkRed));

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4