Skip to content

ToArray

Eugene Sadovoi edited this page Jul 7, 2016 · 1 revision

Creates an array from an Iterable.

Syntax

ToArray()

Return Value

An array that contains the elements from the input sequence.

Remarks

The ToArray method forces immediate query evaluation and returns an array that contains the query results. You can append this method to your query in order to obtain a cached copy of the query results.

Clone this wiki locally