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)
Possibly also look at using a memory-mapped file