Example #1
0
 /// <summary>Creates an array from the given parallel stream.</summary>
 /// <param name="stream">The input parallel stream.</param>
 /// <returns>The result array.</returns>
 public static TSource[] ToArray <TSource>(this ParStream <TSource> stream)
 {
     return(ParStream.toArray(stream));
 }