Question / interfering with console.writeline

Yair Zach

New member
Joined
Dec 19, 2020
Messages
2
Programming Experience
1-3
I have an ASCII art in my commend line code, but every time I put a \ I get an error.
is there any way to get over this error? maybe an alt code character?
it would be really helpful if someone would help me.
thanks
 
Perhaps you could provide a full explanation of the error, like an example of the data that causes the issue and the error message. ALWAYS provide a FULL and CLEAR explanation of the problem.
 
Have you tried using the @"" style string? So that instead of having to write "This has a \\ in it.", you can instead write @"This has a \ in it."?

Anyway part of the issue is that you are trying to embed ASCII art into your code. ASCII art should be treated as a resource. You should store the resource as a resource string or resource stream in your assembly and then load the string or stream when you need to display it.
 
Back
Top Bottom