Friday, August 30, 2013

C# keyword: dynamic

Here's the latest C# feature I've come across: The dynamic keyword. I needed to call a generic function but wanted to pass it an object of anonymous type, and dynamic came to the rescue. This is really cool.

Wednesday, August 28, 2013

Another cool C# language feature: yield return

I just came across yield return in some C# code.  I didn't know about this feature.  If you don't, you should.