I have always initialized a collection as such:-
List<Type> name = new List<Type>();
But today I saw something like this:-
var variablename = new sMonth{
x = foo;
name = new List<Type>()
};
Is that even possible? and what is the difference between the two ways?