What's new in VS2017 and C# 7.0? - Out Variables

added by DotNetKicks
3/30/2017 12:22:06 PM

1 Kicks, 132 Views

When using certain APIs, some parameters are declared as out parameters. A good example of this is the Int32.TryParse(string, out int) method. So let's check the difference in invocation between C# 6.0 and C# 7.0 Now you don't need to define the variable on a separate row.