An open API service indexing awesome lists of open source software.

https://github.com/karenpayneoregon/csharp-features

Basic code samples for C# 8 and C# 9
https://github.com/karenpayneoregon/csharp-features

csharp csharp8 csharp9 vs2019

Last synced: 9 months ago
JSON representation

Basic code samples for C# 8 and C# 9

Awesome Lists containing this project

README

          

# About

Various code samples for C#8 and C#9. Most examples will be done using Windows Forms in some case rather than console projects as Windows Forms can be viewed as replacing console projects when the code presented makes no use of forms other than presentation of code samples.

>Code samples will be added over time.

# Requires

- Microsoft [Visual Studio 2019](https://visualstudio.microsoft.com/)
- .NET [Framework 5](https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-5.0.100-windows-x64-installer)

# Is C#9 ready

From the command-line
> csc -langversion:?

# C# language versioning

https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version

# TechNet articles

- [Switch statement C#](https://social.technet.microsoft.com/wiki/contents/articles/54200.switch-statement-c.aspx)