Console.WriteLine("|/ \|");
When I try to write this in the console, it thinks the slashes are escape sequences (that are unknown), and returns the error:
Compilation error (line 22, col 48): Unrecognized escape sequence
Console.WriteLine("|/ \|");
When I try to write this in the console, it thinks the slashes are escape sequences (that are unknown), and returns the error:
Compilation error (line 22, col 48): Unrecognized escape sequence
Either use raw strings:
Console.WriteLine(@"|/ \|");
Or escape your slash:
Console.WriteLine("|/ \\|");