Sail E0 Webinar
Question
Choose the file mode method which is used to create a new output file with the condition that the file with same name must not exist.
Options:
A .  FileMode.CreateNew
B .  FileMode.Create
C .  FileMode.OpenOrCreate
D .  FileMode.Truncate
Answer: Option A


Creates a new output file. The file must not already be existing.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers