Skip to content

Instantly share code, notes, and snippets.

@biggyspender
Created January 3, 2017 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biggyspender/a35beda336421c82771db5cf945c7f20 to your computer and use it in GitHub Desktop.
Save biggyspender/a35beda336421c82771db5cf945c7f20 to your computer and use it in GitHub Desktop.
using(StreamReader r = new StreamReader("in.csv"))
using(StreamWriter w1 = new StreamWriter("out-1.csv"))
using(StreamWriter w2 = new StreamWriter("out-2.csv"))
using(StreamWriter w3 = new StreamWriter("out-3.csv"))
using(StreamWriter w4 = new StreamWriter("out-4.csv"))
{
//do stuff
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment