Vidyalelo
C# Programming · Q37

File Handling and Input Output in C Sharp

Programming · C# Programming · question 37

Q37

What happens if you attempt to read from a file that is already open by another process in C#?

A.
FileInUseException is thrown
B.
IOException is thrown
Answer
C.
InvalidOperationException is thrown
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board