Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Premium
Feed
Dashboard
Wallet
Achievements
Growth
Network
SharpGPT
Rewards
Register
Login
How to delete a folder or directory in C#
WhatsApp
Soft Dev
May 28 2012
13.1
k
0
Resource
0
You can use Directory.Delete method to delete a folder or directory. Just pass your full path of your folder in the Delete method.
Directory.Delete(path);
directory
C#
Csharp