Quick one: Difference between collection expressions and collection initializer
Did you ever wonder if there is a noticeable difference between:
List<int> a = [1, 2, 3];
// And
List<int> b = new() {1,2,3};
Let's find out:
Did you ever wonder if there is a noticeable difference between:
List<int> a = [1, 2, 3];
// And
List<int> b = new() {1,2,3};
Let's find out: