I found pretty slick new feature in C# 3.0 that I haven’t seen anyone mentioning before.
In C# 2.0 to initialize List<T> inline you had to use arrays, like
As you probably already know, in C# 3.0 you can initialize collections in in similar way like you did with arrays in C# 2.0:
This has been said many times in many places. What I missed however, was that syntax for initializing arrays changed as well. Now you can simply write:
Did you know that?