How to populate/instantiate a C# array with a single value?

Enumerable.Repeat(true, 1000000).ToArray();

Leave a Comment