io - Unity C# Recognizing \n when reading in from text file -
I have a text file with several lines of string, for example "commander" and "44105" I'm going to show them on the screen. I need to create new lines at some points, but when I'm using \ n in the text file, the program does not recognize the new line, but \ N displays in the string when displayed in the string. Reader = New Streamer ("Assets / Correct Entrepreneur. Txt", encoding. Default); While (! Reader. AndFirst & amp; Turnoff == Incorrect) {lineReader = Reader.ReadLine (); If (problemIndex == question index) {answer = lineReader; TurnOff = True; } Question Index + = 1; } Everything else works well, it just does not recognize as a specific character. I would appreciate some help in getting this problem fixed. OK, after the clarification, the question here is what can be done for you list & lt; String & gt; Line = new list & lt; String & gt; (); (StreamReader Reader = New Stream Reader ("Assets / Test ....