Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Nullable Reference Types in C# 8

GOTO Conferences via YouTube

Overview

Explore nullable reference types in C# 8 through this comprehensive conference talk by Jon Skeet at GOTO Copenhagen 2019. Dive deep into the syntax, purpose, and expectations of this major feature, including potential surprises. Learn about nullable local variables, arrays, strings, and variables, as well as the efficiency of null and how to handle null reference exceptions. Discover the null-forgiving operator, precondition tests, and the responsible approach to warnings as errors. Gain insights on unguarded mutation, copypaste issues, and the implications of non-nullable references. Understand the concept of nullable strings, default values, and annotations while considering whether the CLR could have changed to accommodate this feature.

Syllabus

Intro
Person Type
Null Exception
Warnings
Middle
Big Takeaways
Nullable Local Variable
Nullable Array
Nullable Strings
Nullable Variables
Null is Efficient
Nullable Reference Types
Null Reference Exception
Unguarded Mutation
Precondition
Test
Damnit Operator
Null Exceptions
Copypaste
Throw
Null forgiving operators
String is null
Nullable String
TryGateValue
DefaultValue
Not Null
Could the CLR have changed
Warnings as errors
Responsible attitude to take
Not nullable
Not nullable ref
Annotations

Taught by

GOTO Conferences

Reviews

Start your review of Nullable Reference Types in C# 8

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.