Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
AsyncMain
ExpressionBodiedMembers
LocalFunction
LocalFunctionLambda
OutVars
PatternMatching
Ref
RefReturns
Span
TupleDemo
ValueTask
CSharp7.sln
global.json
readme.md

readme.md

C# 7 Code Samples

Introduction

I use these simple code samples to demonstrate new C# 7 language features in Visual Studio 2017.

Note: You can use C# Interactive to demo the C# 7 features, too. To launch C# interactive, run csi in a Developer Command Prompt.

Change C# Language Version

In order to try the demos in your own code, don't forget to change the language version.

Content

Take a look at my blog post to learn more about the samples and how to use them.