Is there any way to construct a list of type List<string>
which contains a single string N
times without using a loop? Something similar to String(char c, int count)
but instead for List of strings.
List<string> list = new List<string>() { "str", "str", "str", ..... N times };