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:
- System.IO.Path.Combine(folder, filename)
- string.IsNullOrEmpty(string)
- Path.DirectorySeparatorChar
- Path.GetFileName(fullPath)
- Environment.NewLine
- Path.GetTempFileName()
- System.Diagnostics.Stopwatch
- System.Net.NetworkInformation.NetworkChange
- System.Web.VirtualPathUtility
- System.Web.HttpUtility
No comments:
Post a Comment