What is the best language construction you have worked with in C#.
One of my favorites is Generics.
What is the best language construction you have worked with in C#.
One of my favorites is Generics.
delegates - hands down
They are a pain to build in C++ (but possible) - but just by virtue of them being available out of the box makes me love them :D
For simple productivity gains? The using
statement - it saves a lot of cruft vs explicit try
/finally
.
Biggest single improvement within C# over time, for the imperative OO programmer: generics.
Biggest improvement in terms of how we approach coding: lambda expressions and LINQ.
I do have a soft spot for iterator blocks though.