I have a need to read in a 1gb raw text file from disk to ram to do some string manipulation in C#.
string contents = File.ReadAllText(path)
Try with System.IO.StreamReader
System.IO.StreamReader
Any difference between File.ReadAllText() and using a StreamReader to read file contents?