Collection expressions were sold as syntax sugar, but the interesting part is that the sugar is extensible. Put [CollectionBuilder] on a type and [1, 2, 3] will build an instance of it. The catch, for
Markdown supported · ⌘↵ to post
No responses yet.