Thursday, October 11, 2007

 

Drop the temporary lists and leverage yield

Here's something interesting I found on Jean-Paul Boodhoo's blog to leverage the 'yield' statement in C# 2.0 whenever we need to return a collection for scenarios like databinding and don't require the full functionality of IList or List.Interesting.

This page is powered by Blogger. Isn't yours?