Archives
-
Extension Properties
A couple of weeks ago, a post I made about Strongly Typed Session Variables in ASP.NET led to some interesting comments and discussion. One of the comments asked "Why can't we just have extension properties…?". Now, Eric Lippert has provided the answer. See his "Why No Extension Properties?" post to read about the decisions that go into adding (or not adding) a language feature.
-
This isn't an error?
I just saw something odd in a diff before a check-in. Basically, I had a trailing comma in an object initializer:
-
Unit Tests and Debug.Assert()
I recently found some code that had a couple of issues: