Chapter 1
New Features in C# 7.0
Section 7
Ref Returns and Locals
Passing objects by reference in C# is nothing new. This is done using the ref keyword. In C# 7.0, however, you can now return objects by reference and store these objects in a local variable by reference. We will look at it in this video. - Create a new method inside the Chapter1 class - Create a second method with the same name - Write the variable values to the console window