MoreEnumerable.Subsets Method |
Name | Description | |
---|---|---|
![]() ![]() | Subsets<T>(IEnumerable<T>) |
Returns a sequence of IList<T> representing all of
the subsets of any size that are part of the original sequence. In
mathematics, it is equivalent to the power set of a set.
|
![]() ![]() | Subsets<T>(IEnumerable<T>, Int32) |
Returns a sequence of IList<T> representing all
subsets of a given size that are part of the original sequence. In
mathematics, it is equivalent to the combinations or
k-subsets of a set.
|