Welcome to MSDN Blogs Sign in | Join | Help

June 2006 - Posts

The number one reason that I dislike arrays in .NET is the fact that they implement IList<T> explicitly, thereby burying useful members like IndexOf behind a cast or equally ugly calls to static methods on System.Array, and needlessly renaming the Read More...
I've made my first contributions to the FxCop team blog on a subject that's near and dear to my heart and often controversial: the perils of catch (Exception). Take a look here and here . Update: The saga continues ... Read More...
I find it troubling when different portions of code from the same project use different indentation and bracing styles. In my opinion, it's much easier to read and maintain code that's uniform in style. However, you won't find me arguing that any one Read More...
This morning, I posted a base class to assist with implementing IDictionary<TKey,TValue>. As I mentioned this was just the first chunk of work required as part of my goal of building a generic dictionary which uses weak references for its keys and Read More...
I recently needed a dictionary which uses weak references to store both its keys and values, but which otherwise tried its hardest to look and feel just like any other IDictionary<TKey, TValue>. Since there's no such collection available in the Read More...
 
Page view tracker