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
- Host: GitHub
- URL: https://github.com/karenpayneoregon/csharp-features
- Owner: karenpayneoregon
- Created: 2020-11-22T15:51:34.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T14:52:43.000Z (about 3 years ago)
- Last Synced: 2025-04-01T05:41:25.359Z (11 months ago)
- Topics: csharp, csharp8, csharp9, vs2019
- Language: C#
- Homepage:
- Size: 1.95 MB
- Stars: 3
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: ChangeFileExtensions/ChangeFileExtensions.csproj
- Security: SecurityHelper/ApplicationConfiguration.cs
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)