C#/.NET Little Wonders: Empty(), DefaultIfEmpty(), and Count()

added by BlackRabbitCoder
6/2/2011 7:12:38 PM

180 Views

Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. On this post I will finish examining the System.Linq methods in the static class Enumerable by examining two extension methods Count() and DefaultIfEmpty(), and one static method Empty().


0 comments