Click here to Skip to main content
15,888,454 members
Articles / Programming Languages / C#

The C# 9 init-only Setters

Rate me:
Please Sign up or sign in to vote.
3.65/5 (5 votes)
15 Aug 2021CPOL2 min read 7.5K   2  
A discussion of "init" keyword introduced in C# 9
This post discusses the somewhat new keyword introduced in C# 9 with .NET 5, which is the init keyword.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Romania Romania
When asked, I always see myself as a .Net Developer because of my affinity for the Microsoft platform, though I do pride myself by constantly learning new languages, paradigms, methodologies, and topics. I try to learn as much as I can from a wide breadth of topics from automation to mobile platforms, from gaming technologies to application security.

If there is one thing I wish to impart, that that is this "Always respect your craft, your tests and your QA"

Comments and Discussions