jmurkoth / CSharp7

Demonstrating some of the new language features in C#7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C#7 Features

Sample project to demonstrate some of the new language features in C#7. This Project looks at the following features

  • Tuples
  • Out variable changes
  • Pattern matching
  • Switch statement with pattern matches
  • Deconstruct
  • Digit Separator
  • Binary Literal
  • Return as reference
  • Local Methods
  • Throw Expressions

See this blog post for reference

Change log

03-12-2017

Enhancements:

  • Updated to use VS 2017 RTM
  • Updated reference System.ValueTuple to use the RTM version

12-27-2016

Enhancements:

  • Updated to use VS 2017 RC1
  • Included the features like throw expressions

Prerequisites

  1. Visual Studio 2017 RC1

About

Demonstrating some of the new language features in C#7

License:MIT License


Languages

Language:C# 100.0%