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

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

Share and Enjoy:
  • Digg
  • Twitter
  • Facebook
  • Reddit
  • StumbleUpon
  • LinkedIn
  • Google Bookmarks
  • Slashdot