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:A
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