C# Nullable Reference Types and #nullable enable Explained
How C# nullable reference types work, what #nullable enable does under the hood, how to resolve CS8618 without null!, and how to teach the compiler with attributes.
I'm a .NET developer who shares what I learn. I've been building with .NET for over a decade, and I love writing about ASP.NET Core, C#, and web development. When I'm not coding, I'm probably traveling with my wife Nicole or going on long walks with our two dogs.
How C# nullable reference types work, what #nullable enable does under the hood, how to resolve CS8618 without null!, and how to teach the compiler with attributes.
To everyone in the United States, Happy Thanksgiving! 🦃
I hope you get a few days away from the keyboard and spend them with the people you care about, eating more than you planned. Thank you for reading, sharing, and sending notes about the posts this year. It means a lot.
If you’re still cooking a turkey this year, this video from ThatDudeCanCook walks through a recipe worth trying. Watch it before you preheat the oven.
Enjoy the food, and leave room for pie. 🥧