Working with C# 9 Records
Applying the concept of immutability is vital no matter what type of software you create. This course will teach you why that is and how to apply it using C#’s Records.
What you'll learn
As a developer you want to write quality code with as few bugs as possible. In this course, Working with C# Records, you’ll learn to make your code bug resistant using immutability and Records. First, you’ll explore the concept of immutability. What it is and why it improves software quality. Next, you’ll discover Records, which will make working with immutability in C# a breeze. Finally, you’ll learn the features of Records, which will make working with them a pleasure. When you’re finished with this course, you’ll have the skills and knowledge to apply immutability and records to your software needed to mitigate those nasty bugs.
Table of contents
Immutability, in object-oriented and functional programming, is an object whose state cannot be modified or changed after it is created.
In this course, you will learn the importance and use of immutability, how to apply records to projects, and the internals of records.
Prerequisites for this course are a baseline knowledge of C#. Not only syntax but also object orientation.
C# records are a reference type that you can create instead of classes or structs. Records are distinct from classes because records use a value-based equality.
In C# polymorphism is the ability for objects of different types to provide a unique interface for different implementations of methods.