Where can i find a good in depth guide to C# 3? [closed]
-
05-07-2019 - |
Question
It seems that C# 3 hit me without me even noticing, could you guys tell me about good in depth guides to C# 3? from lambda to linq to everything else that was introduced with the third version of the language.
Printed books would be nice, but online guides would be even better!
Solution
ScottGu has some great posts on C# 3:
- The C# ?? null coalescing operator (and using it with LINQ)
- LINQ to SQL: Part 8 (this is an 8 part series, check the top of the post for links to the first 7)
- Automatic Properties, Object Initializers, and Collection Initializers
- Extension Methods
- Lambda Expressions
- Query Syntax
- Anonymous Types
Some more useful links:
OTHER TIPS
There are some high quality blogs out there.
some of my favorites: Eric Lippert, Eric White, Scott Gu
I've been told this is a good book C# in Depth.
MS Training kits Visual Studio 2008 and .NET Framework 3.5 Training Kit and .NET Framework 3.5 Enhancements Training Kit
Channel 9 presentation\videos
I've read the first 4 chapters from 'C# In Depth' by Jon Skeet so far and would recommend this book.
Just another recommendation for C# in Depth; not only will it fully explain C# 3.0 - but it will also significantly improve your understanding of C# 2.0 - for example, a lot of the more subtle nuances of iterator blocks or captured variables.
Definitely worth a read.
If your looking for some dead tree reference, I recommend Pro C# 2008 and the .NET 3.5 Platform by Andrew Troelsen.
http://www.amazon.co.uk/gp/reader/1590598849/ref=sib_rdr_toc?ie=UTF8&p=S006&j=0#reader-page
I've found C# 3.0 in a Nutshell to be very useful.
I found Pro LINQ: Language Integrated Query in C# 2008 to be very helpful for this. It has a chapter which covers all the new language features in 3, and of course the rest of the book goes into a deep dive on LINQ. I would highly recommend it.
The C# 3 specification gives a complete description of the language, however this might be too much detail for your needs.