How to initialize a List to a given size (as opposed to capacity)?

List<string> L = new List<string> ( new string[10] );

Leave a Comment