C# Console ForegroundColor
Description
Console ForegroundColor
gets or sets the foreground
color of the console.
Syntax
Console.ForegroundColor
has the following syntax.
public static ConsoleColor ForegroundColor { get; set; }
Example
using System;/*from w w w .j a v a 2 s. c om*/
public class Example
{
public static void Main()
{
Console.ForegroundColor = (ConsoleColor) (12);
}
}