Simplify Syntax with Extension Methods

Extension methods were first introduced with LINQ in C#3.0. They are just a syntactic construct, but as we’ll see in this post they can make a huge difference. What’s easier to read of these two? string[] wishList1 = Enumerable.ToArray( Enumerable.Select(Enumerable.Where(Animals, a => a.StartsWith("A")), a => string.Format("I want a {0}.", a)));   string[] wishList2 = Animals.Where(a… Continue reading Simplify Syntax with Extension Methods

Introducing Ads

Since I started this blog about six months ago the number of visitors has grown for each month. I now have about the same number of weekly visitors as I used to have per month. Geographically there are readers from all over the world. There have been visitors from  about 100 different countries. I’m of… Continue reading Introducing Ads

Happy 3 million questions Stack Overflow!

My favorite source of inspiration and knowledge on the Internet, Stack Overflow has passed a major landmark: 3 000 000 questions. If anyone has missed it, Stack Overflow is the largest question and answer site on the Internet for programmers. To me, Stack Overflow is a major source of inspiration and knowledge. It’s far too easy to… Continue reading Happy 3 million questions Stack Overflow!