Udemy

What's New in C#7—14

Enroll Now
  • 12,963 Students
  • Updated 11/2025
4.3
(2,149 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
5 Hour(s) 14 Minute(s)
Language
English
Taught by
Dmitri Nesteruk
Rating
4.3
(2,149 Ratings)

Course Overview

What's New in C#7—14

Learn about latest features of C#7

This short course covers the latest and greatest features of C#, covering versions 7, 7.1, 7.2, 7.3, 8.0, 9.0 and 10.0 of the language that are being sim-shipped with corresponding Visual Studio updates.

Course Topics

Here's every language feature presented in this course, grouped by the version of the C# language.

C# 7:

  • Out Variables

  • Pattern Matching (is and switch expressions)

  • Tuples and Tuple Deconstruction

  • Local Functions

  • Ref Returns and Locals

  • Expression Bodied Members

  • Throw Expressions

  • Generalized Async Return Types

  • Literal Improvements

C# 7.1:

  • How to turn on C# 7.1 support

  • Async Main

  • Default Expressions

  • Ref Assemblies

  • Infer Tuple Names

  • Pattern-Matching with Generics

C# 7.2:

  • Leading Digit Separators

  • 'Private Protected' Access Modifier

  • Non-Trailing Named Arguments

  • Reference Semantics on Value Types:

    • 'In' Parameters

    • 'Ref Readonly' Variables

    • 'Ref Struct' and Span<T>

C# 7.3:

  • Performance improvements

    • Access fixed fields without pinning

    • Reassign ref local variables

    • Use initializers on stackalloc arrays 

    • Use fixed statements on any type that supports a pattern 

  • Enhancements to existing features 

    • Tuple == and != support 

    • Use expression variables in more locations 

    • Attach attributes to backing field of auto-properties 

    • Improved method resolution when arguments differ by 'in' 

    • Improved overload resolution 

  • New compiler options: 

    • deterministic

    • publicsign

    • pathmap

C# 8:

  • Nullable Reference Types

  • Indices and Ranges

  • Default Interface Members

  • Pattern Matching

C# 9:

  • Record Types

  • Top-Level Calls

  • Initial Setters

  • Pattern Matching Improvements (type patterns, parenthesized patterns, conjunctive and, disjunctive or, negated not, relational patterns)

  • Performance and Interop (Native sized integers (nint/nuint), function pointers, SkipLocalsInit)

  • Fit and Finish (target-typed new, target type resolution of conditional expressions, static modifier for lambda expressions and anonymous methods, covariant return types, foreach GetEnumerator() use, discards as parameters to lambdas, attributes on local functions)

  • C# Code Generators (partial method syntax, module initializers)

C# 10:

  • Record Structs

  • Global Using Directives

  • File-Scoped Namespace Declarations

  • Extended Property Patterns

  • Generic Attributes

  • Lambda Improvements (attributes, explicit return types, natural type inference)

  • Enhanced #line directives

Prerequisites

  • Knowledge and understanding of C# 6 and earlier

  • General experience in .NET/C# application development

Learning Outcomes

  • An understanding and appreciation of latest C# 7/7.1/7.2/7.3/8/9 language features

  • Understanding of how to convert existing C# code to C# 7/7.1/7.2/7.3/8/9

C# 14:

  • Extension members

  • User-defined compound assignment

  • Field keyword

  • Partial events and constructors

  • Nameof support

  • Implicit conversions for Span<T>/ReadOnlySpan<T>

  • Modifiers on simple lambda parameters

  • Null-conditional assignment

Course Content

  • 9 section(s)
  • 42 lecture(s)
  • Section 1 Introduction
  • Section 2 What's New in C# 7
  • Section 3 What's New in C# 7.1
  • Section 4 What's New in C# 7.2
  • Section 5 What's New in C# 7.3
  • Section 6 What's New in C# 8
  • Section 7 What's New in C# 9
  • Section 8 What's New in C# 10
  • Section 9 What's New in C# 14

What You’ll Learn

  • Understand and appreciate C#7, C#8 and C#9 language features
  • Learn how to use new language features in practice


Reviews

  • P
    Praveen Dixit
    4.0

    older version were covered in detail

  • J
    Jonathan
    4.0

    It is a good way to catch up after not following on the changes. However, it needs more impact and example of the impact and reasoning why certain things are done.

  • P
    Puneeth Ganesh
    5.0

    NA

  • S
    Sodinapalli Saini Reddy
    5.0

    good

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed