locked
Simple question for expert. C# Related RRS feed

  • Question

  • Does the following line of code also open the file or do I have open it afterwards?

    FileStream fs = new FileStrream(@"c:/file.xml", FileMode.Create, FileAccess.ReadWrite)

    Thursday, January 21, 2010 8:07 PM

Answers

  • Simple question, simple answer.
    The file is open after the call (in case of success)
    • Marked as answer by jdn717 Thursday, January 21, 2010 11:05 PM
    Thursday, January 21, 2010 8:22 PM