SRT Solutions

Blogs

Browse by Tags

  • LINQ IQueryable toolkit available on CodePlex

    Matt Warren has put the IQueryable toolkit on CodePlex .  I’m excited about this for a number of reasons. I’ve commented before about how much I’ve learned reading Matt’s posts about building an IQueryProvider. That makes LINQ much more powerful.  However, building an IQueryProvider from scratch...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Sun, Nov 23 2008
  • Q & A on last post (Duck Typing)

    My last post on duck typing generated this question:   I have a question regarding your recent post about Duck Typing and anonymous type scope in C# 4.0.  Does this now open up the possibility of using an anonymous type (say, the results of a LINQ query) outside the scope of the method it was...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Thu, Nov 13 2008
  • Another item from More Effective C# Posted on InformIT

    Today, the fine folks at InformIT posted another item from More Effective C# for you to learn more about the style and the content from the book: Item 29: Enhance Constructed Generic Types with Extension Methods If you have questions about the content, come by The Ann Arbor Computing Society (AACS) on...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Tue, Oct 28 2008
  • Extension Methods and Null Arguments

    A little while ago, I did a DNR TV on C# 3.0 . During that, I talked about preserving null semantics when  you write extension methods.  I made the point that you should never test if the first parameter of an extension method is null. That’s because it breaks the semantics of member methods...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Sun, Oct 26 2008
  • More Effective C# available now

    Today is the official release date for More Effective C# . Writing a book may seem to be a solitary activity, but nothing could be further from the truth. I have been lucky enough to work with fantastic editors, technical editors, and community members as I have put this together. If you read the acknowledgements...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Fri, Oct 17 2008
  • Clarifying my comments on Previous Post

    My last post generated valid criticisms from readers. Let’s clarify and correct that. Keith Elder commented: I got the impression reading your post that you "skimmed" my article and didn't really get what it was I was getting at. […] The whole point of this is C# 3.0 can be written where...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Sat, Oct 11 2008
  • Creating Readable LINQ

    Keith Elder wrote a post a post asserting (or at least proposing) that a more imperative syntax for a problem is more readable than a LINQ based C# 3.0 version. (See here for his post). Well, that got my hackles up. Some days, my hackles get up before I do, but I digress. His example code as examining...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Fri, Oct 10 2008
  • Paul Kimmel interviews me about C#, LINQ, and writing books

    Paul Kimmel spent some time over the summer chatting with me about More Effective C# , LINQ, upcoming C# features, and the process of writing books. It's live here: http://www.informit.com/articles/article.aspx?p=1237069
    Posted to Bill Blogs in C# (Weblog) by wwagner on Mon, Oct 6 2008
  • DNR TV on C# 3.0 is live

    Last week, I recorded a DNR TV with Carl Franklin discussing C# 3.0 extension methods, local type inference and some of the best practices that revolve around those parts of the languages. It's up and live now. Check it out here .
    Posted to Bill Blogs in C# (Weblog) by wwagner on Mon, Sep 29 2008
  • Euler Problem 10

    Patrick posted his solution earlier this week. I figure it was time to add mine. Also, Octavio Hernandez pointed out in the comments to problem 8 that he had discussed similar code constructs in his blog a while back. Problem 10 asks for the sum of all primes less than 2 million. It's also one line...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Sun, Aug 31 2008

In our latest Ann Arbor Business Review column (Volume 6, Issue 49, December 4-10 2008), Bill wrote about the concept of "inshoring", bringing...