Sumit Kumawat

Sumit Kumawat

  • NA
  • 384
  • 257.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)