C# lets you create an ArrayList using notation like this:
var array = new ArrayList {1, 2, 3, 4, 5}
How can I use that kind of notation for my own class?
For context, my goal is to create a method/constructor that takes a list of either Type
or IEnumerable<Type>
and concat them all together to make a single List<Type>