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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
deepti gupta
NA
33
0
DirectoryNotFound exception on deleting folder using WPF
Sep 12 2014 2:09 AM
Deleting directory using WPF code , sometimes i m getting
DirectoryNotFoundexception
error.
if (Directory.Exists(folderpath))
{
DirectoryInfo directory = new DirectoryInfo(folderpath);
directory.GetFiles("*", SearchOption.AllDirectories).ToList().ForEach(file => file.Delete());
}
Reply
Answers (
4
)
How to bind MinWidth of DatagridTemplateColumn
WPF project development using mvvm technique