Sumit Kumawat

Sumit Kumawat

  • NA
  • 454
  • 414.8k

Linq Code for access Special Folder

Feb 28 2012 6:56 AM
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)