2009/09/04 10:52

How to delete file ?


C# provides file utility as File Class. You don't need to create instance, because it's already created when you declare System.IO on top of your code.

Following is the example to Delete File.

using System.IO;

.
.
.

File.Delete("c:\\_bg.png");
File.Delete("c:\\_gloss.png");
File.Delete("c:\\_outline_shadow.png");


Trackback 0 Comment 0

Trackback : Cannot send a trackbact to this post.