How to populate/instantiate a C# array with a single value? October 4, 2022 by Tarik Enumerable.Repeat(true, 1000000).ToArray();