C# Version 7.3
Released May, 2018
|There are two main themes to the C# 7.3 release. One theme provides features that enable safe code to be as performant as unsafe code. The second theme provides incremental improvements to existing features. New compiler options were also added in this release.
|The following new features support the theme of better performance for safe code:
|⮚You can access fixed fields without pinning.
|⮚You can reassign
|⮚You can use initializers on
|⮚You can use
fixedstatements with any type that supports a pattern.
|⮚You can use more generic constraints.
|The following enhancements were made to existing features:
|⮚You can test
!=with tuple types.
|⮚You can use expression variables in more locations.
|⮚You may attach attributes to the backing field of auto-implemented properties.
|⮚Method resolution when arguments differ by
inhas been improved.
|⮚Overload resolution now has fewer ambiguous cases.
|The new compiler options are:
|-publicsign to enable Open Source Software (OSS) signing of assemblies.
|-pathmap to provide a mapping for source directories.