[c#6] 0-Overview

Source: Internet
Author: User
1. New feature Map

The new features of c#6 are mainly the compiler ("Roslyn"), which does not rely on the CLR and the. NET framework upgrades, and we can assume that the main purpose of this version of the new language feature is to simplify the way code is written, essentially some syntactic sugars (compiler optimizations).

The new features are as follows:

  1. Using Static Members
  2. nameof-expression
  3. string interpolation
  4. Null condition operator
  5. Automatic attribute Enhancement
  6. member functions in the form of an expression
  7. Dictionary initializer
  8. Exception enhancement
2. Reference

C # 6.0 How to simplify, articulate, and compress your code

New Language Features in C # 6

[c#6] 0-Overview

Related Article

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.