25
I'm just thinking about the styling and performance. Previously I used to write something like,
var strings = new List<string> { "a", "b", "c" };
var ints = new List<int> { 1, 2, 3};
But now I tend to like this style more,
var strings = new [] { "a", "b", "c" }.ToList();
var ints = new [] { 1, 2, 3}.ToList();
I prefer the second style, but now considering - is it really worth to write it like that or maybe it's not that efficient and requires more operations?