Để xóa file trong C# chúng ta sử dụng hàm Delete trong thư viện System.IO.File như sau:
1 |
System.IO.File.Delete("duong_dan_den_file_can_xoa"); |
Thật đơn giản phải không nào! Nosomovo
Xem thêm Code xóa file trong C#Để xóa file trong C# chúng ta sử dụng hàm Delete trong thư viện System.IO.File như sau:
1 |
System.IO.File.Delete("duong_dan_den_file_can_xoa"); |
Thật đơn giản phải không nào! Nosomovo
Xem thêm Code xóa file trong C#