7
Answers

Linq Code for access Special Folder

Sumit Kumawat

Sumit Kumawat

12y
1.2k
1
I want to access Special folder using linq code plzz help me..

var s1 = (from folder in new DirectoryInfo(@"C:\Users\" + Environment.UserName + Environment.SpecialFolder.Desktop).GetDirectories()

                          select folder).ToList();

im using this code but not able to retrive data...plz help
Answers (7)