Steven Giesel 12/20/2023

The first possible new feature of C# 13: Params collection

Read Original

This article details the first proposed feature for C# 13: Params Collections. It explains how this feature extends the existing 'params' keyword to work with any collection type (like List<T> or ReadOnlySpan<T>), not just arrays. The post discusses the benefits for API design and potential minor performance improvements, while noting the feature is still in proposal status.

The first possible new feature of C# 13: Params collection

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week