"latest C # features" ...
Implicitly typed local variables:
The compiler infers the type from the initialized value.
// Implicitly typed local variables. var myInt = 0; var myBool = true; var myString = "Time, marches on...";
This is very useful when used with LINQ.
Auto Properties:
No need to write all the syntax of the properties.
class Car {
Extension Methods:
This method can be very useful when you need to introduce new functions into types for which you do not have an existing code base.
More info on Scott Gug's blog here .
eKek0 source share