Bill Blogs in C#

Bill Wagner discusses C#, LINQ, and other items of interest

Browse by Tags

All Tags » C# » C# General (RSS)
Learning new languages with VSM
This month’s VSM has a pair of articles by me and Kathleen Dollard that were great fun to write, and I believe they’ll be useful to a wide audience. My regular C# corner column discusses what every VB Developer should know about C#. Kathleen’s column...

Posted by wwagner | with no comments

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...

Posted by wwagner | with no comments

Filed under: , ,

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...

Posted by wwagner | with no comments

Filed under: , ,

Duck Typing in C# 4.0
I’ve been having fun learning the new upcoming C# 4.0 features Anders described at PDC (see video here ). One of the the more interesting areas is dynamic, and the ways you can use dynamic to support duck typing . In C# 4.0, you can create methods that...

Posted by wwagner | 1 comment(s)

Full PDC Wrapup: The Next Big Thing
The Microsoft PDC is positioned as a forward looking conference. Roughly 75% of the content is pre-release content, and only 25% is on products and platforms that have already shipped. On the one hand, that makes it very challenging to understand everything...

Posted by wwagner | 3 comment(s)

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...

Posted by wwagner | 2 comment(s)

Filed under: , , , ,

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...

Posted by wwagner | 4 comment(s)

Yet another Book Post: The C# Programming Language 3rd Edition (Annotated)
I was recently notified that the 3rd edition of the C# Programming Language is out. This version has is new in several ways. Obviously, it includes a description of all the new C# 3.0 language features. In addition, a number of people were invited to...

Posted by wwagner | 1 comment(s)

Filed under: , , ,

Excerpts of “More Effective C#” posted on InformIT
Three different items from More Effective C# have been posted publicly on the InformIT site: Item 36:  Understand how Query Expressions Map to Method Calls . Linq is built on two concepts: A query language and a translation from that query language...

Posted by wwagner | with no comments

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...

Posted by wwagner | 4 comment(s)

What .NET Library Features do you use?
Scott Hanselman posted a survey (one little question) on what features do you use in the .NET framework: http://www.hanselman.com/blog/SurveyTimeWhatNETFrameworkFeaturesDoYouUse.aspx On the off chance that one of my two readers haven't heard of Scott...

Posted by wwagner | 1 comment(s)

Filed under: , ,

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...

Posted by wwagner | 3 comment(s)

Filed under: , ,

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...

Posted by wwagner | 4 comment(s)

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 by wwagner | with no comments

Filed under: , , ,

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 by wwagner | with no comments

Filed under: , , ,

More Posts Next page »