The new init accessor method in .NET coding immutable objects a lot simpler. Replacing your set and private sets with init might make your code better.
Don't forget to comment, like and subscribe 🚀
💬 JOIN US ON DISCORD
https://bbb.dev/discord
🧑💻 LET'S CONNECT ON SOCIAL
Blog: https://baldbeardedbuilder.com
Twitter: / michaeljolley
TikTok: / baldbeardedbuilder
Instagram: / baldbeardedbuilder
Twitch: https://twitch.com/baldbeardedbuilder
#csharp #dotnet