Null safety in C#

Learn coding practices to help prevent the occurrence of NullReferenceException.

Learning objectives

In this module, you will:

  • Learn how to configure the nullable context of your C# project or code.
  • Use a nullable enabled context to perform automatic static flow analysis.
  • Understand the different ways in which you can declare nullable types.
  • Learn how and when to use various null-related C# operators:
    • null-forgiving (!) operator
    • null-coalescing (??) operator
    • null-conditional (?.) operator

citrix training courses malaysia

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *