Kizspy | Question: 34
(Choose 1 answer)
Which of the following is the correct way to create a
A. File.WriteAllText("example.txt", "Hello, World!");
B. File.Create("example.txt", "Hello, World!");
C. File.CreateNew("example.txt", "Hello, World!");
D. File.Open("example.txt", FileMode.Open);
new file using the File class?
RUBVERFLOM.Com.