Author: Tales from the Evil Empire : ASP.NET | Posted on: 3/10/2010 4:19:52 AM | Views : 876

.NET is now more than eight years old, and some of its APIs got old with more grace than others. System.IO in particular has always been a little awkward. It's mostly static method calls ( Path.* , Directory.* , etc.) and some stateful classes ( DirectoryInfo , FileInfo ). In these APIs, paths are plain strings. Since .NET v1, lots of good things happened to C#: lambda expressions, extension methods, optional parameters to name just a few. Outside of .NET, other interesting things happened as well. For example, you might have heard about this JavaScript library that had some success introducing a fluent API to handle the hierarchical structure of the HTML DOM. You know? jQuery . Knowing all that, every time I need to use the stuff in System...(read more) ...

Go to the complete details ...