Linq use Enumerable Range method to create arrays quickly

By [)ia6l0 iii

var data = Enumerable.Range(100,10).ToArray();

Related FAQs

Use the ToCharArray with the Linq Reverse method.
The LinQ SKIP operator lets you skip the results you want, and take the rest. See below for an code sample.
The LinQ Take operator lets you take only the results you want. See below for an code sample.
Linq use Enumerable Range method to create arrays quickly  (663 Views)