Skip to content

alugili/CSharp-9-CheatSheet

Repository files navigation

C# 9 CheatSheet

C# 9 Cheat Sheet with code example and pros and cons.

  • Records
  • Init only setters
  • Top-level statements
  • Pattern matching enhancements
  • Native sized integers
  • Function pointers
  • Suppress emitting localsinit flag
  • Target-typed new expressions
  • static anonymous functions
  • Target-typed conditional expressions
  • Covariant return types
  • Extension GetEnumerator support for foreach loops
  • Lambda discard parameters
  • Attributes on local functions
  • Module initializers
  • New features for partial methods

About

C# 9 Cheat Sheet with code example and pros and cons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published