VisualStudio write UNIX style linefeeds using StreamWriter/WriteLine

Like so:

StreamWriter^ sw = gcnew StreamWriter("filename");
sw->NewLine = "\n";
sw->WriteLine("Line data");
For blog updates and more follow me on twitter.