LINQ to find file
CodeKeep C# Feed Maggio 5th, 2008
Description: LINQ to find a given filename / pattern / etc
Link: http://www.codekeep.net/snippets/5195652d-2810-4006-809c-b4bcdaf699cd.aspx
var files = from file in new DirectoryInfo(@"K:\SomeFolder").GetFiles()
where file.Name == "SomeFileName.txt"
select file;






