Here is the easiest way to read an entire text file into a C# string:

string s = System.IO.File.ReadAllText( path );