Sunday, June 17, 2007

Useful .Net classes people forget to use

Phil Haack wrote a post on .Net services people frequently tend to forget about the re-invent, so I made a list of his pointers as well as some of the comments:

  1. System.IO.Path.Combine(folder, filename)
  2. string.IsNullOrEmpty(string)
  3. Path.DirectorySeparatorChar
  4. Path.GetFileName(fullPath)
  5. Environment.NewLine
  6. Path.GetTempFileName()
  7. System.Diagnostics.Stopwatch
  8. System.Net.NetworkInformation.NetworkChange
  9. System.Web.VirtualPathUtility
  10. System.Web.HttpUtility

No comments: