I'm looking for the equivalent of Array.Fill but for List
Is it possible to fill all list items with certain value
Array.Fill(counters, max); // this works
listName.Fill(5); //something like this
would fill a list with 5's
I don't want to use a loop
Given that the list have some items