Wednesday, 12 May 2010

HOWTO: Quickly and Efficiently Get An IEnumerable of Directories and Files

Have you ever wanted to get an IEnumerable of files and directories and had to either make do with or convert from an Array because the System.IO namespace didn't provide methods of doing this? In .NET 4 you can do this quickly and efficiently. Check out the MSDN documentation here.