PRN212_-_SP_2025_-_Block_5_-_1_3853.webp
Đ

PRN212_-_SP_2025_-_Block_5_-_1_3853.webp

Kizspy | Question: 33
(Choose 1 answer)
Neverflow ***
Which of the following is the correct way to create a new file using the File class?
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);

Thông tin

Category
PRN212
Thêm bởi
Đình Phong
Ngày thêm
Lượt xem
2,390
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom