How can I quickly create a string list with numbered strings?
Right now I'm using:
var str = new List<string>();
for (int i = 1; i <= 10; i++)
{
str.Add("This is string number " + i);
}
This works, however I wonder if there's a quicker way to initialize such a string list, maybe in one or two lines?