Browse by Tags

VS2010 RC: Much Faster than Beta 2
I spent all day yesterday working with VS2010 RC. (MSDN Subscribers could download late on Monday. It becomes public today). First impression:  It is much faster, and more stable than the beta 2 build...
Euler Problem 14: Learn to Memoize
This is going to be fun. It’s a bit of LINQ, a bit of academic Computer Science, and a bit of meteorology. Euler Problem 14 concerns a sequence referred to as hailstorm numbers. Hailstorm number...
One Long Strange Trip: Visual Studio Magazine and Me
The January Visual Studio Magazine marks the first time the C# Corner is written by Patrick Steele . I’ve bowed out after a long run with the magazine and its predecessors. The most important part is that...
Effective C#, 2nd Edition: What Content got dropped, and why?
The 2nd edition of Effective C# is now available on Rough Cuts . With that, I’ve started to get questions via email about how I decided which items to add, and which items to drop. It should be clear from...
A Discussion on Imperative vs. Declarative Programming
I received the following question (paraphrased) this week: “You are an advocate of converting imperative style programming into re-usable frameworks as you did in your November VS Magazine column. I agree...
Lazy<T>: On Demand Construction in .NET 4.0
I love it when I find those small new bits of functionality in the .NET framework. It’s all the big items that get all the love at conferences and in magazines. Lazy<T> is one of those items...
Long time, no Euler (or YAEPS # 13)
Well, it’s been a long time since I’ve taken the time to solve and blog about one of the Euler problems.  It was time to pick this up again. Problem 13 says: Work out the first 10 digits of the sum...
When Cast<T> doesn’t Cast to T
A friend asked me about some issues he was having using Enumerable.Cast<T>(). In his mind, it just wasn’t working. Like so many problems, it was working correctly, just not the way he expected. It...
Book Review: Essential LINQ
During my recent vacation, I read the final print version of Essential LINQ , by Charlie Calvert and Dinesh Kulkarni. Normally, I try to answer the question, “Who should read this book?” That answer eluded...
Not so Hidden Gems in VS 2010
I’m just going to assume that all readers of my blog know that Visual Studio 2010 Beta one has been released . I’ve been running it almost exclusively since I downloaded and installed it. There’s a lot...
Query Language or Method calls: A matter of taste
My last post (which was too long ago), generated question on whether I prefer the query language or the method notation for LINQ queries. The answer is ‘yes’.  Jon Skeet mentioned this as well last...
Explain from the Questioner’s perspective, not your own
I was involved in an interesting discussion about how the C# language has evolved, and how it’s getting harder and harder to teach developers to be proficient in the language with each passing version...
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...
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...
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...
More Posts Next page »

Search

Go

Blog Group Links

Nascar style badges