Formatting for these two code blocks is incorrect.  It also may be useful to put a not at the bottom of this article explaining why you have to use the activator rather than using a new type constraint.  This is an annoying shortcoming of C# that I think we could include in a blog post.