Generic Parameter Inference
public static void Do(this TBase value) where T : BaseClass… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2007-10-29
1 min read
ObservableCollection<T>.CollectionChanged Caveat
DO NOT return null values from collection properties or from methods returning collections. Return an empty collection or an empty array instead…. You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2007-10-25
1 min read
Fallback Values for Backwards Compatible Enums
Came up with a nice idea while driving today about versioning enums…. You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2007-10-10
1 min read