New in C# 12: Collection expressions
Creating collections becomes simpler in C# 12 using collection expressions.
We can also make use of the spread operator
.. to copy the values from a collection.
More info can be found in the documentation.
I appreciate it if you would support me if have you enjoyed this post and found it useful, thank you in advance.