C
C#16mo ago
StickDude

✅ use Console.write to set foreground color?

how do i use Console.write to set foreground color?
6 Replies
Dellibrov
Dellibrov16mo ago
Do you want to set Console foreground color ?
StickDude
StickDudeOP16mo ago
yes
Dellibrov
Dellibrov16mo ago
No description
Dellibrov
Dellibrov16mo ago
As you see it expects ConsoleColor
Console.ForegroundColor = ConsoleColor.Red;
Console.ForegroundColor = ConsoleColor.Red;
Dellibrov
Dellibrov16mo ago
No description
Dellibrov
Dellibrov16mo ago
also you need to output something to see it's effect like Console.WriteLine("Hello"); etc

Did you find this page helpful?