Search code examples
c#cmdcommandprompttext-based

Cmd commands in C#


I'm writing a small text-based adventure in C# that uses the command prompt for everything, and I'm looking for a way to change the colour of outputted text. None of the methods I've looked at have worked properly.


Solution

  • Console.ForegroundColor = ConsoleColor.DarkRed;
    

    Should work fine.