Paths in C#
/*
s = new FileStream("C:\\temp\\Goo.txt", FileMode.Create);
or use forward (Unix-style) slashes:
s = new FileStream("C:/temp/Goo.txt", FileMode.Create);
or use the at sign (@), which is a control-character suppressor:
s = new FileStream(@"C:\temp\Goo.txt", FileMode.Create);
*/
Related examples in the same category