C# 7.0: Out Variables

C# 7.0 brings some features to out variables. These new features help us write cleaner code and handle out variables better. This blog post provides samples of these new features in C# 7.0 and as a surprise, it also demonstrates what the compiler is doing with these new features.
Inline out Variables
Let’s start with a piece of code that demonstrates how TryParse() and some TrySomethingElse() methods work.

Link: https://dzone.com/articles/c-70-out-variables?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev