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

YouTube

Records Deep Dive - What, Why and How

NDC Conferences via YouTube

Overview

Dive deep into C# 9's Records feature in this 44-minute conference talk from NDC Melbourne 2021. Explore the concept of records, their implementation, and associated new features like primary constructors, init accessors, and with expressions. Learn about potential pitfalls and misconceptions surrounding records, including their true nature beyond "immutable data classes." Discover how Records evolve in C# 10 and gain insights on leveraging their benefits, even if direct implementation isn't feasible. Cover topics such as simplified declaration, immutability, nullability, value semantics, value equality, expressions, anonymous types, and customization. Engage with practical demonstrations using Sharplab and participate in a Q&A session to enhance your understanding of this powerful C# feature.

Syllabus

Intro
What is a record
Simplified Declaration
Immutability
Sharplab
Nullability
Value Semantics
Value Equality
Expressions
Anonymous Types
Customisation
Sharp Lab
Questions

Taught by

NDC Conferences

Reviews

Start your review of Records Deep Dive - What, Why and How

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.