Tìm kiếm trên Nosomovo

Code xóa file trong C#

TrashIt_icon_trnspt

Để xóa file trong C# chúng ta sử dụng hàm Delete trong thư viện System.IO.File như sau:

System.IO.File.Delete("duong_dan_den_file_can_xoa");

Thật đơn giản phải không nào!

Nosomovo

Thẻ: , , , , ,
Chia sẻ:
Zalo Gọi ngay