.net - Delete a lot of files and sub folders with c# and threads -
does have sample or no how delete lot of files , sub directories in folder threads , c# .net.
thanks
the best way call directory.delete(directory, true); delete directory, of subdirectories, , files. no threading required.
if want asynchronously (i.e. have program other things while directory deletion happening), take @ calling synchronous methods asynchronously.
Comments
Post a Comment