What is the slickest way to initialize an array of dynamic size in C# that you know of?
This is the best I could come up with
private bool[] GetPageN
I would actually suggest this:
return Enumerable.Range(0, count).Select(x => true).ToArray();
This way you only allocate one array. This is essentially a more concise way to express:
var array = new bool[count]; for(var i = 0; i < count; i++) { array[i] = true; } return array;