Vidyalelo
C# Programming · Q65

File Handling and Input Output in C Sharp

Programming · C# Programming · question 65

Q65

Choose the filemode method which is used to create a new output file with the condition that the file with same name must not exist.

A.
FileMode.CreateNew
Answer
B.
FileMode.Create
C.
FileMode.OpenOrCreate
D.
FileMode.Truncate

Answer: Option A

Solution

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