Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IQueryable<Tuple<T, T>> AllPairs<T>(this IQueryable<T>)

Declaration

public static IQueryable<Tuple<T, T>> AllPairs<T>(
    this IQueryable<T> source
)

Summary

Returns an enumeration of tuples containing all pairs of elements from the source collection. For example, the input sequence 1, 2 yields the pairs [1,1], [1,2], [2,1], and [2,2].

Generic type parameters

TThis type parameter is not documented.