title: Read Text File Up to GO
body: <p>I have a multi-megabyte .sql file, there are GO statements on newlines every 10k or so. I am trying to come up with a way to read the file, line-by-line, until I hit a new line that only has "go" and a Newline character, then return what was read to the caller, and then read the next bunch of text until I hit GO again.</p>
  
  <p>Peek only lets me read one character, what's a smart way to make this work in C# on Framework 4.0?</p>
  
  <p>Thanks.</p>