how to create a class for forground color in c# code example Example: c# console foreground color Console.ForegroundColor = ConsoleColor.DarkGreen;