. NET Highlights in Visual Studio version 15.7 Preview 4

Source: Internet
Author: User

This article is translated from. Net Blog, some new features have not been contacted, do not understand, in order to fear misleading there is no translation.

VS2017 version 15.7 brings up a number of enhancements including:

    • Support for. Net Core 2.1 Engineering
    • Improved. NET development tools
    • Pay C # 7.3
    • Upgraded the F # tool

In this article I have made a brief brief description of these features and talk about how you are going to try these new features. As always, if you have a problem, please send a report.

. NET Core 2.1 Support

  . Net Core2.1 and ASP. Core2.1 brings many new features including performance improvements, global tools, Windows compatibility, low version rollback, and security improvements. See. NET Core 2.1 Roadmap and ASP. 2.1 Roadmap for details.

VS2017 version 15.7 is the recommended version of VS used for out. Net Core2.1 projects. Build A. Net Core2.1 project in vs.

    • Make sure that vs is off.
    • Download install. Net Core 2.1 Preview.

You will see ASP. NET Core 2.1 as an option in the dialog box.

If you are using a console program or class library, you can create a project and then open the project's Properties option to modify the target version to. Net Core 2.1.

Improvements in productivity

For each version, we've been trying to increase your efficiency by increasing the number of refactoring and code fixes. Calling quick actions and refactoring in VS2017 version 15.7 uses:

    • Convert a For loop to foreach
    • Make private fields read-only
    • In display and implicit type switching

Want to learn and more productivity to see our visual Studio Productivity Guide for. NET developers.

c#7.3

VS2017 version 15.7 also introduces the latest c#7.3. C # 7.3 features are:

    • enumerations, delegates, and unmanaged constraints.
    • Ref local variables and ref parameters can now be re-assigned with the REF assignment operator.
    • Stack initialization: An array of stack allocations can now be initialized, such as Span<int> x=stacklloc[]{1,2,3}.
    • Fixed indexers can be indexed without first being pinned.
    • Expression variables in initialization: Expressions such as out Var and pattern changes are allowed in field initialization, constructor initialization, and LINQ queries.
    • Tuple expression: tuples can now use = = and! =

In your project rollup use c#7.3

    • Open your Project Properties page
    • Choose the Build button
    • Click Advanced
    • Select the language version, drop-down list, select the latest version of C #

. NET Highlights in Visual Studio version 15.7 Preview 4

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.