Select the file mode method to generate a new output file with the condition that a file with the same name does not exist.
A. FileMode.CreateNew
B. FileMode.Create
C. FileMode.OpenOrCreate
D. FileMode.Truncate
Answer:A
Select the file mode method to generate a new output file with the condition that a file with the same name does not exist.
A. FileMode.CreateNew B. FileMode.Create C. FileMode.OpenOrCreate D. FileMode.Truncate
Explanation: Makes a new output file. The file must not already exist.