/// <summary>Creates an List from the given parallel stream.</summary> /// <param name="stream">The input parallel stream.</param> /// <returns>The result List.</returns> public static List <TSource> ToList <TSource>(this ParStream <TSource> stream) { return(ParStream.toResizeArray(stream)); }