Examveda

Choose the filemode method which is used to create a new output file with the condition that the file with same name if exists will destroy the old file:

A. FileMode.CreateNew

B. FileMode.Create

C. FileMode.OpenOrCreate

D. FileMode.Truncate

Answer: Option B


Join The Discussion

Related Questions on File Handling and Input Output in C Sharp