Microsoft
98-372 · Question #133
You have created a program that writes status updates into a file. You want to modify the file. You need to ensure that other users can view the file while it is being modified. Which permission…
The correct answer is D. FileShare.Read. See the full explanation below for the reasoning.
Question
You have created a program that writes status updates into a file. You want to modify the file. You need to ensure that other users can view the file while it is being modified. Which permission should you use to open the file?
Options
- AFileShare.None
- BFileAccess.Read
- CFileAccess.Write
- DFileShare.Read
- EFileShare.Inheritable
How the community answered
(51 responses)- A2% (1)
- B6% (3)
- C2% (1)
- D78% (40)
- E12% (6)
Community Discussion
No community discussion yet for this question.