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
(b) FileMode.Create
(c) FileMode.OpenOrCreate
(d) FileMode.Truncate
This question was addressed to me in final exam.
Query is from Byte Stream in portion Console I/O Operations and Stream Classes of C#