Method ToArray ToArray() Create an array with the items of this collection (in the same order as an enumerator would output them). Declaration T[] ToArray() Returns Type Description T[] The array