By johnastuntz
via devcurry.com
Published: Jul 29 2010 / 11:54
.NET 4.0 introduces new methods to Enumerate Directory and Files in .NET 4.0. We will be using the DirectoryInfo.EnumerateDirectories and DirectoryInfo.EnumerateFiles in this sample which returns an enumerable collection of Directory and File information respectively to calculate the size of a folder or directory using .NET 4.0 and LINQ.



Add your comment