Answers for "how to change console output word color c#"

C#
6

c# change colour of console

Console.BackgroundColor = ConsoleColor.Green;
            Console.ForegroundColor = ConsoleColor.DarkGreen;
            Console.Clear();
            //green on green
            Console.WriteLine("yo");
            Console.ReadLine();
Posted by: Guest on March-06-2020
0

How to Color and Style the Console Output

use Symfony\Component\Console\Formatter\OutputFormatterStyle;

// ...
$outputStyle = new OutputFormatterStyle('red', '#ff0', ['bold', 'blink']);
$output->getFormatter()->setStyle('fire', $outputStyle);

$output->writeln('<fire>foo</>');
Posted by: Guest on April-19-2021

Code answers related to "how to change console output word color c#"

C# Answers by Framework

Browse Popular Code Answers by Language