Vs2008 Ships
Orcas has shipped :)
Orcas has shipped :)
One item you strive to avoid when you design and implement a feature is unexpected behavior. Unfortunately there is one case we couldn’t avoid with Lambda’s in VB9. I just ran into the this problem when coding up a handler. I wanted to disable a button when the text of particular TextBox was empty. I wrote the following code to handle the situation.
For a time I’ve been avoiding extension methods. Not because I’m opposed to using them but because of the 3.5 Framework.
Recently I was asked how can you get a list of anonymous type member names given a query of anonymous types. The quick answer is that you can use a quick bit of reflection to get back the names.
This is another recount of an experience I had refactoring some C++ code recently. In some ways this is also a follow up of my previous post about why you shouldn’t use boolean parameters (especially default value ones).