delete all dir content c#

77

delete all dir content c# -

 new System.IO.DirectoryInfo(@"C:\Temp").Delete(true);

 //Or

 System.IO.Directory.Delete(@"C:\Temp", true);

Comments

Submit
0 Comments