Skip to content

itenium-be/CSharp-Features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

New C# Features

Pattern matching:

  • obj as var X
  • if (status is Status.Captain or Status.Major)
  • if (status is null)
  • if (entity is { Prop1: false, Prop2: true })

Object construction?

  • Primary constructors
  • Property get/set (init, ...)
  • Readonly vs const?

Collection initalizers

  • [] syntax
  • Indexer syntax

Linq: CountBy, AggregateBy

  • Small refresher on Deferred execution?
  • Multiple looping over IEnumerable?
  • IEnumerable vs IQueryable?

About

Session on "new" C# features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published