YoVDO

Working with Nulls in C#

Offered By: Pluralsight

Tags

C# Courses C Programming Courses

Course Description

Overview

Learn how to create, check, access, and eliminate nulls in your C# applications.

Unexpected null values and NullReferenceExceptions can be a constant source of bugs resulting in wasted time and out of hours support callouts. In this course, Working with Nulls in C#, you'll learn about the different ways that null values pop up in C# code and how to deal with them. First, you'll dive into the fundamentals of why you get null values and the difference between value and reference types. Next, you'll explore how you can use the various C# operators to check for and manipulate nulls. Then, you'll see how to think about nulls at a higher abstraction level in your object-oriented code. Finally, you'll discover how the features introduced in C# 8 can help even more by allowed non-nullable reference types. By the end of this course, you'll understand the different types of objects in C#, how to correctly create nullable value types, how to use C# operators to work with nulls in fewer lines of code, how to implement the Null Object pattern, and how to use nulls in C# 8.

Taught by

Jason Roberts

Related Courses

3D Art and Audio Pipeline
Unity via Coursera
3D Interactions and Navigation
Unity via Coursera
ABC du langage C
Institut Mines-Télécom via France Université Numerique
Abstraction, Problem Decomposition, and Functions
University of Colorado System via Coursera
Add Gore to Your Game in Unity
Coursera Project Network via Coursera