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
If by 'slickest' you mean fastest, I'm afraid that Enumerable.Repeat may be 20x slower than a for loop. See http://dotnetperls.com/initialize-array:
Initialize with for loop: 85 ms [much faster] Initialize with Enumerable.Repeat: 1645 ms
So use Dotnetguy's SetAllValues() method.