Immutability in .NET just got a LOT easier

Опубликовано: 15 Апрель 2024
на канале: Bald. Bearded. Builder.
705
34

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