Let’s explore C# 7.0 features and Visual Studio Intelligence changes provided in this release to increase the productivity. There are lots of things that have been added in this new release. I will give you some overview of the features that I have checked.

Note

Some of the features available in Visual Studio 2015 are either updated or are with specific Add-In, but in VS 2017, all features will come by default.

Navigation between Functions and Files is now very easy

Go To Line (CTRL + G) is also changed

Find All References (SHIFT + F12) has been changed. Now, it will provide advance grouping, filtering, sorting, searching within referenced result so that you can get a clear understanding of your references and get to the specific line of code, you need, without problem.

Structure Guide Lines are now drawn in editor so that we can easily know which bracket is for which function and all. If we hover the mouse over a particular line, it will show the Tool Tip with current code block.

You can modify Extensions in Bulk. Once you close VSIX Installer, it will start installing Configured extension installation one by one.

In Solution Explorer, VS Team have added Folder View. From there, we can open multiple projects if they exist in same directory.

Visual Studio

Visual Studio

Much Improvement in IDE Experience and Productivity

Visual Studio

This one is one of the coolest features of C# 7.0. Now, we can declare Out variable inline. Let‘s check it with the help of an example.

Visual Studio

Now, we can check For NULL directly using null-Coalescing operator (??) and we can throw the exception directly. Check this.

Visual Studio

Improvement in IntelliSense will make us more productive when working in a large solution or an unfamiliar codebase. VS Team have added an icon tray to IntelliSense that enables you to filter the member list by type (e.g., methods, properties, classes, etc.).

Each filter toggle has an associated keyboard shortcut which you can discover by hovering over the icon. To enable this feature, go to Tools > Options > Text Editor > [C# | Visual Basic] > IntelliSense and check the options for filtering and highlighting.

Visual Studio

We can split long string (for e.g Inline query) into multiple concatenated string by positioning the cursor mid-string and press enter.

Visual Studio

New Code action for converting Properties to Method. Declare Properties and press CTRL + and. It will provide suggestion for same.

Visual Studio

Nested Local Function

Pattern Matching

Switch Statement, now we can switch on anything. Let‘s look by example.

Tuple introduces language support for grouping of variable names.

Now, we can return the value using Ref keyword. Yes! You heard it right.

NEW Exception Handler

Chrome Debugging Support

Please find the attached Demo.zip file which contains examples that are mentioned in the article. Install VS 2017 RC and try it.

Do share your feedback and suggestion on this blog.

References

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes
https://connectevent.microsoft.com/?wt_mc_id=dx_874921#day2