C# what type of variable is foregroundcolor code example Example: c# console foreground color Console.ForegroundColor = ConsoleColor.DarkGreen;