Let me just say real quick how much i love the new raw string literals in #csharp 11.

Just being able to write the HtmlString like this and it not be a visual mess is fantastic.

#dotnet #dotNETConf

@aristurlte probably my favourite feature on C#11
@gsferreira it's a toss up between that and the new required keyboard for properties for me.
@aristurlte I confess that I'm skeptical about that. Not sure if I will be using it as much as I first imagined.

@gsferreira I have an immediate use for it which is probably why I'm excited about it.

I have a library that parses a binary formatted file spec but also want to include a way of creating the file spec in code and writing it out.

There are certain classes that can have like 10 different properties that will never be null or an empty string.

So without required, the init only properties have to be in the constructor, making it a constructor with 10 parameters, and it just looks bad

@aristurlte I get it.
My point is that between records and required properties, I'm sad that there's not a combined solution.
@gsferreira maybe I'm misunderstanding what you mean by a combined solution? You can create a record with additional required properties not in the initial constructor.
@aristurlte I know. But it's a shame that you can't take advantage of the simplicity of positional arguments while making a distinction between Required and Optional arguments.