For me, this feature seems a bit like std::optional yet also pythonic. Not sure how I feel about it going around method signatures. Sure some people will want to use it.
Like many other modern C# features it's borrowed from other languages. Some developers will use it and others won't. However, I love being educated about what's new so that I know what it is when I encounter it in the real world.
Do you like this first new C# 13 feature? Will you use it in your code?
Nice tutorial!
Thanks 😉👍
What about IReadOnlyCollection? Will this also work?
Great question! Yes, IReadOnlyList and IReadOnlyCollection work with the params keyword in the current preview implementation.
For me, this feature seems a bit like std::optional yet also pythonic. Not sure how I feel about it going around method signatures. Sure some people will want to use it.
Like many other modern C# features it's borrowed from other languages. Some developers will use it and others won't. However, I love being educated about what's new so that I know what it is when I encounter it in the real world.
@@ClaudioBernasconi I really appreciated the time you took to dive into the features. I quite like the C# language.