Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
can u tell me about status bar&deletion of a file?
Posted
Comments
Amir Mahfoozi 18-Dec-11 1:43am    
Google for : "csharp delete file" and try to explain more about status bar.
Smart003 18-Dec-11 1:53am    
i want to delete a saved file in csharp.
can u explain?
Amir Mahfoozi 18-Dec-11 1:57am    
Have you tried this : System.IO.File.Delete(@"c:\abc.txt");

1 solution

Try the System.IO.File class[^] - it has all the expected functions:
C#
File.Delete(path);
Is one of them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900