Developer Network
Developer Network
Developer
:CreateViewProfileText:
Sign in
Subscriber portal
Get tools
Downloads
Visual Studio
SDKs
Trial software
Free downloads
Office resources
Programs
Subscriptions
Overview
Administrators
Students
Microsoft Imagine
Microsoft Student Partners
ISV
Startups
Events
Community
Magazine
Forums
Blogs
Channel 9
Documentation
APIs and reference
Dev centers
Samples
Retired content
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
Ask a question
Quick access
Forums home
Browse forums users
FAQ
Search related threads
Remove From My Forums
Answered by:
Simple question for expert. C# Related
Archived Forums V
>
Visual C# Language
Question
0
Sign in to vote
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
0
Sign in to vote
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