-1

I am making a basic snake game and I wanted to make a cool title screen with a larger font size or maybe print out the word "snake" like ASCII Art.

It is a simple game made in the C# console window.

I have tried a couple of things, but can't get it to work I just keep getting error messages and I don't understand what the problem is. enter image description here

Peter Duniho
  • 68,759
  • 7
  • 102
  • 136

1 Answers1

3

Add '@' at the start of the statement, it should work.

string a = @"a\asdas\"

You can also use backslash

string a = "a\\asdas\\"

fared
  • 161
  • 2
  • 12