How can I easily represent a raw block of text as a string?

I created a very simple console program that mimics the GLaDOS song from the end of the Portal game, with sound and words that all work fine. I ran into a problem while trying to draw a logo at the end.

Is there a way to set a block of text since it is displayed on a line, so I can write it to the console? I know that '\n' is a new line, but I want it easier to write this.

This is what I have at the moment:

 Console.Clear(); TypeText("thank you for participating in the Aperture Science Experiments/nPress any button for delicious cake/n .,-:;//;:=, . : H@ @@ MM@M #H/.,+%;, ,/X+ +M@ @ M@MM %=,-% HMMM@X /, -+@MM ; $M@ @MH+-,; XMMMM@MMMM @+- ;@ M@ @M- XM@X ;. -+XXXXXHHH@M @M#@/. ,% MM@ @MH ,@%= .---=-=:=,. =@ #@@@MX., -%HX$$%%%:; =-./@ M@M $ .;@ MMMM@MM : X@ / -$MM/ . +MM@ @@M$ ,@ M@H : :@: . =X#@@@@- ,@@@MMX, . /H- ;@ M@M = .H@ @@@ M@ +, %MM+..%#$. / MMMM@MMH /. XM@MH ; =; /%+% $XHH@ $= , .H@ @@@MX, .=--------. -%H.,@@@@@MX, .% MM@ @@HHHXX$$$%+- .:$MMX =M@ @MM%. =XMMM@MM @MM#H;, -+HMM@M + /MMMX= =%@ M@M #@ $-.=$@MM @@@M; %M%= ,:+$+-,/H# MMMMMMM@ = =, =++%%%%+/:-.", 90); 
+4
source share
2 answers

Use a literal literal string using the "@" prefix.

+12
source

Instead, you can download a text file and display the contents as text.

+3
source

All Articles