Additional code samples for Professional C#
C# JavaScript PowerShell HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

More Samples

This repository contains additional code samples for the book Professional C# 6. Currently you'll find samples in these categories:

  • C# 7.0
  • .NET Core
  • Entity Framework Core
  • ASP.NET Core
  • Universal Windows Platform (UWP)
  • WPF


C# 7.0

  • Literals
  • Tuples
  • Out Vars and Ref Returns
  • Expression Bodied Members
  • Pattern Matching

.NET Core

  • Dependency Injection
  • Dependency Injection with Options
  • Configuration
  • Dependency Injection with Configuration
  • Markdown
  • Self-contained

Entity Framework Core

  • Inheritance (TPH)
  • Mapping to Getter Only Properties


  • View Components

Universal Windows Platform (UWP)

  • Ink
  • Simple MVVM
  • Grouped ListView
  • Hamburger and SplitView
  • Deep Linking
  • Open Tab Items Dynamically


  • 3D with WPF
  • Open Tab Items Dynamically