Examveda

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

C. InvalidOperationException is thrown

D. None of the above

Answer: Option B


Join The Discussion

Related Questions on File Handling and Input Output in C Sharp