How to delete file in C# .NET
There is an easy way how to delete file permanently.
string path = @"c:\myfolder\MyFile.txt";
If the specified file does not exist, an exception is not thrown.
Do not forget to add:
Add your comment
List of articles
How to compare two Strings in C#
|Webdesign (c) 2009 - 2022 Supremus.sk|