Created
April 6, 2025 22:20
-
-
Save AnthonyGiretti/af4723193b4eae25312096884820290f to your computer and use it in GitHub Desktop.
Before and with C# 13 escape sequence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Before C# 13 | |
Console.WriteLine("\u001b[31mThis is red text\u001b[0m"); | |
// With C# 13 | |
Console.WriteLine("\e[31mThis is red text\e[0m"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment