Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# console foreground color

//Background color
Console.BackgroundColor = ConsoleColor.Green;
//Foreground color
Console.ForegroundColor = ConsoleColor.Black;
//Reset
Console.ResetColor();
 
PREVIOUS NEXT
Tagged: #console #foreground #color
ADD COMMENT
Topic
Name
6+7 =