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
Sumit Kumawat
NA
454
414.5k
Windows explorer using WPF Application
Feb 27 2012 1:32 AM
public static IList<DirectoryInfo> GetRootDirectories()
{
return (from x in Directory.GetLogicalDrives()
select new DirectoryInfo(x)).ToList();
}
public static IList<DriveInfo> GetRootDirectories()
{
return (from x in DriveInfo.GetDrives() select x).ToList();
// return null;
}
By using one of the code above i am able to acces all drives but i want to acces only C drive result like "Desktop", "Documents", "Picture", "Music", "Videos", "Downloads", "Recent","Network" plz help
Reply
Answers (
1
)
Treeview Expand/Collapse icons on right side in WPF
How to concate two generic list??