Q30
In C#, what method is used to create a new file if it does not exist, or overwrite the existing file if it does exist?
A.
File.Open()
B.
File.CreateText()
C.
File.Create()
AnswerD.
File.OpenWrite()
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board