Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Register
Login
How to delete a folder or directory in C#
WhatsApp
Soft Dev
12y
13.1
k
0
5
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