Part 3. C# 6
C# 6 is one of my favorite releases. It has lots of features, but they’re mostly independent of each other, simple to explain, and easy to apply to existing code. In some ways, they’re underwhelming to read about, but they still make a huge difference to the readability of your code. If I ever have to write code in an older version of C#, it’s the C# 6 features that I find myself missing most.
Whereas each earlier version of C# introduced a whole new way of thinking about code (generics, LINQ, dynamic typing, and async/await, respectively), C# 6 is more about applying some polish to the code you already have.
I’ve grouped the features into three chapters: features about properties, features about strings, and features that aren’t ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access