Yes. See this article. Here’s an example from there:
Console.BackgroundColor = ConsoleColor.Blue;
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("White on blue.");
More Related Contents:
- How to enable assembly bind failure logging (Fusion) in .NET
- How to get ALL child controls of a Windows Forms form of a specific type (Button/Textbox)?
- How to write Unicode characters to the console?
- Why is Dictionary preferred over Hashtable in C#?
- How can I read a file even when getting an “in use by another process” exception?
- .NET Global exception handler in console application
- How do I get a human-readable file size in bytes abbreviation using .NET?
- Measuring code execution time
- How to fix a opacity bug with DrawToBitmap on WebBrowser Control?
- How do I invert a colour?
- .NET Integer vs Int16?
- Using statement vs. IDisposable.Dispose()
- Multiple colors in a C# .NET label
- What are the benefits of resource(.resx) files?
- GC.Collect()
- User Activity Logging, Telemetry (and Variables in Global Exception Handlers)
- Event Signature in .NET — Using a Strong Typed ‘Sender’? [closed]
- Select either a file or folder from the same dialog in .NET
- Sorting an array of folder names like Windows Explorer (Numerically and Alphabetically) – VB.NET
- How does async works in C#?
- String.Format – how it works and how to implement custom formatstrings
- Return to an already open application when a user tries to open a new instance
- Consume a SOAP web service without relying on the app.config
- What do ref, val and out mean on method parameters?
- How to check if the system audio is muted?
- What steps do I need to take to use WCF Callbacks?
- How to insert a Symbol (Pound, Euro, Copyright) into a Textbox
- Dynamically changing Textbox’s AutoComplete List causes AccessViolationException, any advice?
- As of today, what is the right way to work with COM objects? [duplicate]
- Are there any OK image recognition libraries for .NET?