I have a solution folder in which i have collect all the .dll's and store in a array list.I have to search all the sub-directories.Please help in writing the LINQ Query.
var r = dir.GetFiles("*.dll").Where<FileInfo>(i => i.Name.StartsWith("SAMPLE")).ToList();
Is this Correct?For example i 20 dll's startwith name "SAMPLE"