List Question
20 TechQA 2023-12-07T20:26:14.947000ImmutableArray empty collection initializer is not equal to ImmutableArray.Empty in C# 12
243 views
Asked by Matthew Layton
What's the syntax for using C#12 collection expressions to initialise a List<List>>?
759 views
Asked by stuartd
What does assignment to a bracketed expression mean in C#?
1.7k views
Asked by Aleksander Stukov
Supporting collection initialization syntax for immutable collections - init modifiers for methods?
360 views
Asked by Dmitry Kotleev
Set inner object's member as outer object using the object initialization syntax in C#
90 views
Asked by Amal K
Why is a collection initializer without `new` allowed inside an object initializer but not outside?
292 views
Asked by Pawel
Collection initializers inside object initializers with default values
391 views
Asked by Heinzi
Use of C# 8 null-forgiving operator within C# 6 index initializers
782 views
Asked by mxscho
Can't dynamically set array initializer length
137 views
Asked by user1134307
Initializing a list of lambda expressions
1.7k views
Asked by Jason O
Initialize elements with brackets like Lists in c#
5.1k views
Asked by Battle
C# List or Collection initializer using foreach loop
1.2k views
Asked by Watson
C# Collection initialization syntax for use with custom matrix class?
477 views
Asked by Raxmo
C# Why dictionary allows property setting though the property is internal set
298 views
Asked by Karthik Chintala
function/method in a collection initializer c#
89 views
Asked by larca
IEnumerable Add method available only when using collection initializer
103 views
Asked by Evan Park
Declaring a Dictionary<string,Func<>> with Functions already inside them c#
1.8k views
Asked by Nils
What is the difference between these two variations of collection initialiser expressions?
875 views
Asked by Tagc
Initialization of list in class for availability from functions
67 views
Asked by AudioBubble
Object & Collection Initializers and Accessors
81 views
Asked by define cindy const