What Is New in C# 3.0 - Part 6 (Expression Trees)

   After a long delay I am proud (well not really) to present part 6 of the “What Is New in C# 3.0” series. This is arguably the most difficult part of all but you only need to fully understand how expression trees work if you are going to develop LINQ data providers or similar frameworks. I personally am nowhere near to fully understanding how expression trees work but learning the principles they rely on will help you and me use them more effectively.

...
Posted by:   Stilgar
05:30 13.03.2008

What Is New in C# 3.0 - Part 5 (Lambda Expressions)

   I was about to start this article with theoretical explanation and historical background of lambda expressions but while I was searching for articles explaining some subtle details I came upon some very interesting comments. Some people were complaining that functional programming (mainly lambdas) are not natural to C# and they can confuse developers with no theoretical (i.e. university) background. Luckily the C# community (unlike the Java community) is very open-minded to new features and opinions are about 10:1 in favor of lambdas (if you take a look at discussions about new features in Java you will see that like 3:2 are against ANY changes in the language itself). So I decided to write the article with examples of how lambdas are actually simpler and easier even if you do not understand how they work internally...
Posted by:   Stilgar
03:29 24.02.2008

What Is New in C# 3.0 - Part 4 (Type Inference and Anonymous Types)

  Welcome to part 4 of the "What Is New in C# 3.0" series. Lets present two of the features that can make your code shorter and are essential to LINQ.

  You can often read about a feature of C# 3.0 called "the var keyword". That is pure bullshit and the feature is actually called "type inference" or "implicit typing"...
Posted by:   Stilgar
01:57 15.02.2008

What Is New in C# 3.0 - Part 3 (Extension Methods)

   Part 3 of the "What Is New in C# 3.0" series deals with extension methods. However before we proceed lets make a little trip through the history of methods as we know it just for the sake of our younger readers (namely Hristinka)...
Last edited by:   Stilgar
on   20:57 22.03.2008
Posted by:   Stilgar
04:02 10.02.2008

What Is New in C# 3.0 - Part 2 (Object Initializers and Collection Initializers)

   Today we will dive deeper into the world of C# 3.0 with object initializers and collection initializers. Be sure to check part 0 and part 1 from the “What Is New in C# 3.0” series if you have missed them.

   Now straight to the topic...
Posted by:   Stilgar
03:37 08.02.2008
First Previous ... 21 22 23 24 25 26 27 28 29 Next Last