TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to delete a folder or directory in C#
Soft Dev
May 28 2012
Resource
0
0
14.6
k
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
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);
delete folder
directory
C#
Csharp