Showing posts with label Helpers. Show all posts
Showing posts with label Helpers. Show all posts

Thursday, January 3, 2008

A state aware generic list

 

A state aware generic list is a great post, showing you how to keep track of the state of the objects contained in a generic list. Mads uses a very simple technique for tracking the state of his list. Looks like something that can be very useful if you are rolling your own objects and you want to track the state of generic lists.

Thursday, June 14, 2007

Useful .NET Utility Classes

Phil Haack just posted a great article, The Most Useful .NET Utility Classes Developers Tend to Reinvent Rather Than Reuse. This is a list of classes that you may not be aware of, but can sure make your life a lot easier. Here are the main classes that he discusses:
  • System.Path.IO
  • System.Web.VirtualPathUtility
  • System.Web.HttpUtility
  • System.Enviornment

If you are not familiar with these classes I would highly suggest that you read the article and try them out. I have used some of the System.Path.IO methods (like Combine) to make creating filenames a whole lot simpler. Also check out the comments as there are a couple of other good ones mentioned as well.