Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alugili/csharp8cheatsheet
C# 8 Cheat Sheet, Default Interface Methods, Pattern Matching, Indices and Ranges, Nullable Reference Types, Asynchronous Streams, Caller Expression Attribute ,Static Local Functions, Default in Deconstruction., Alternative Interpolated Verbatim Strings, Using Declarations, Relax Ordering of ref and partial Modifiers, Disposable ref structs, Generic Attributes, Null Coalescing Assignment ,Disposable ref structs
https://github.com/alugili/csharp8cheatsheet
cheat cheat-sheet cheatsheets csharp csharp8 programming-language
Last synced: about 15 hours ago
JSON representation
C# 8 Cheat Sheet, Default Interface Methods, Pattern Matching, Indices and Ranges, Nullable Reference Types, Asynchronous Streams, Caller Expression Attribute ,Static Local Functions, Default in Deconstruction., Alternative Interpolated Verbatim Strings, Using Declarations, Relax Ordering of ref and partial Modifiers, Disposable ref structs, Generic Attributes, Null Coalescing Assignment ,Disposable ref structs
- Host: GitHub
- URL: https://github.com/alugili/csharp8cheatsheet
- Owner: alugili
- Created: 2019-05-03T13:13:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-10T14:09:53.000Z (almost 5 years ago)
- Last Synced: 2023-10-20T05:51:24.843Z (about 1 year ago)
- Topics: cheat, cheat-sheet, cheatsheets, csharp, csharp8, programming-language
- Size: 1.49 MB
- Stars: 81
- Watchers: 4
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSharp8CheatSheet
C# 8 Cheat Sheet with code exampleUpdated according to the Microsoft documentation:
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-81) Default interface methods
2) Nullable reference types
3) Pattern matching enhancements
4) Asynchronous streams
5) Using declarations
6) Enhancement of interpolated verbatim strings
7) Null-coalescing assignment
8) Static local functions
9) Indices and ranges
10) Unmanaged constructed types
11) Readonly-Member
12) Stackalloc in nested expressions
13) Disposable ref structs________________________________________________________________________________________________________________________
I will keep updating the cheat sheet. Please follow me and start it.
The following features are moved to C# 8.1, 8.2 and 8.x- Caller expression attribute
- Target-typed new
- Generic attributes
- Default in deconstruction
- Relax ordering of ref and partial modifiersThe following feaures will coming in C# 8.0 MERGED -> To Master
- Default Interface Methods
- Nullable reference type
- Recursive patterns
- Async streams
- Enhanced using
- Ranges
- Null-coalescing Assignment
- Alternative interpolated verbatim strings
- stackalloc in nested contexts
- Unmanaged generic structs
- Static local functions
- Readonly members
About me: www.bassam.ml