What is the difference between File.ReadAllLines() and File.ReadAllText()?
File.ReadAllText() returns one big string containing all the content of the file while File.ReadAllLines() returns string array of lines in the file.
Keep in mind that in case of ReadAllText "The resulting string does not contain the terminating carriage return and/or line feed."
More details are available at remarks section of File.ReadAllText Method and File.ReadAllLines Method.