All posts with Tag Collections

Preview image blogpost

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:

Read the whole article

An error has occurred. This application may no longer respond until reloaded. Reload x