What’s the difference, if any?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
None.
File.Open()is, internally, nothing more than:If you don’t use the overload which specifies a
FileAccessandFileShare, it specifies this for you (usingFileShare.None, andFileAccess.Writeon append orReadWriteotherwise).That being said, this is an implementation detail, not part of the documentation. Technically, a future .NET Framework release could use a different implementation, although I find that unlikely.