Overview of C# 6 language enhancements
-
Bill Wagner[^]:
There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.
"I program my home computer. Beam myself into the future"
-
Bill Wagner[^]:
There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.
"I program my home computer. Beam myself into the future"
-
Bill Wagner[^]:
There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.
"I program my home computer. Beam myself into the future"
Await in
catch
/finally
blocks and the null-propagation operator look quite handy. Exception filters? I can see the argument that VB has them, so C# should have them too. But I don't think I've ever encountered a situation where I've thought, this would be much easier / cleaner with exception filters. Everything else just looks horrible. But I guess that's just another sign I'm getting old.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Bill Wagner[^]:
There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.
"I program my home computer. Beam myself into the future"
Well I think most of the enhancements looks promising - especialy null propagation and primary constructors. Both makes code shorter and more clear. Exception filtering looks kind of short-hand of "if (e is MyException) {...}. Why not remove the break-need in the end of switch-case's. I don't see why break is needed - should break out when the next case begins - or? That is what I can think of.
Michael Pauli