Thursday, November 27, 2008

Generics in .NET

There are language features that are nothing more than syntactical sugar. For example, C#'s coalesce operator (??) is a short-handed and specialized if-else. Object initializes make it easier to set properties on a newly created objects. Some features though go beyond mere convenience and add real value. I know it seems like we constantly have to learn new things, while at the same time actually produce code to pay our bills. It can be hard to pick and choose what to learn and what can wait. Let me be straight up though: if you haven't mastered generics yet, you're starting to fall dangerously behind.

Read more...

No comments:

Post a Comment