Paths in C#

image_pdfimage_print
   
  
/*
s = new FileStream("C:	empGoo.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:	empGoo.txt", FileMode.Create);
*/

   
     


This entry was posted in File Stream. Bookmark the permalink.