General Thoughts
Published in

General Thoughts

C# 10 Record Structs

C# 9 introduced a new type, record, that was an immutable reference type with value equality. The new follow-up to this feature in C# 10 was the record struct.

Without getting ahead of the content in this post too much, one of the new features of record in C# 10 is allowing the alias of record class to represent what we know of as a C# 9 record. Moving forward, I'll use this new naming to clarify which type I'm talking about.

This post discusses the new record struct: explaining potential benefits and discussing the similarities as well as differences with record




A grab-bag of thoughts that don’t fall into any other category.

Recommended from Medium

Capture, Call and Convert Abandoned Form Fills

How to fix “cannot perform an interactive login from a non TTY device” error. Full guide.

Python Study Notes - Functions

Dockerhub push images and delete with api


Sneak peak into the Revolutionary ATTA DreamMaker

Corda R3 — Binding Contracts

How do you prepare for a Coding Bootcamp?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joe Mayo

Joe Mayo

Author, Instructor, & Independent Consultant. Author of C# Cookbook: — — @OReillyMedia #ai #csharp #linq2twitter #twitterapi

More from Medium

Deadly Diamond Problem in C#

How to stop forgetting to await an awaitable call

Inline Assembly in F#, .NET Language!

A Look Into Roslyn Analyzers