Is it better to call ToList() or ToArray() in LINQ queries?
Unless you simply need an array to meet other constraints you should use ToList. In the majority of scenarios ToArray will allocate more memory than ToList. Both use arrays for storage, but ToList has a more flexible constraint. It needs the array to be at least as large as the number of elements in the … Read more