Archives by Tag 'linq filter getfiles howto easy simple system.io direct'

HowTo Filter System.IO.Directory.GetFiles with Linq

By Tony - Last updated: Friday, May 30, 2008

Here we are going to see an easy way to enumerate files in a directory, filter the files with Linq, then bind the results to a ASP.NET repeater control. We will show you the old .NET 1x way of doing this, then the new and improved Linq way of doing this. I had a method [...]