Batch | Turns one sequence into several sequences of n elements. |
Concat | Attaches an item to a collection or a collection to an item. |
Consume | "Absorbs" the collection, without producing any action on the elements. |
DistinctBy | Returns only unique elements (by specified criteria). |
Equizip | Creates a new sequence, where each element is created based on the corresponding elements of the original sequences. If sequences have different numbers of elements, an InvalidOperationException will be thrown. |
ExceptBy | Returns the elements of the first sequence that are not contained in the second (by the given criterion). |
ForEach | Performs an action on each element of the sequence. |
Generate | Generates sequences on the initial element and the function generator. |
GenerateByIndex | Generates a sequence of item indices. |
Groupadjacent | Similar to GroupBy, but only consecutive items fall into the group. |
Index | Returns a sequence of index-value pairs. |
Maxby | Returns the maximum element of a sequence according to a given criterion. |
Minby | Returns the minimum element of a sequence according to a given criterion. |
Pad | If the number of elements in the sequence is less than the specified number, the sequence complements the default values to the specified number. |
Pairwise | Returns a sequence of function results for the current and previous elements (does not apply to the first element). |
Pipe | Returns the original sequence by performing an Action on each element. |
Prepend | Complements the beginning of the collection with a specified element. |
PreScan | Returns the sequence of the original length, in which the Nth element is determined by applying the specified transform to N-1 elements. |
Scan | Returns the sequence of the original length, in which the Nth element is determined by applying the specified transform to N elements. |
SingleOrFallback | Returns the only element of a sequence, or the result of the specified delegate if the sequence is empty. |
SkipUntil | Skips the elements of the original sequence until the specified condition is true. The current item will be the last skipped. |
Split | Splits a sequence with a specified delimiter (returns a sequence of sequences). |
TakeEvery | Returns every Nth element of the source sequence. |
TakeLast | Returns the last N elements of the source sequence. |
TakeUntil | Returns the elements of the original sequence until the specified condition becomes true. The current item will be the last returned item. |
Todatatable | Allows you to convert a sequence to a new DataTable or fill the existing one. It is possible to set the lamdas to get the values for the table fields from the source element. |
ToDelimitedString | Converts a sequence to a delimited string (something that usually has to be done through a tedious Aggregate). |
Tohashset | Returns HashSet 〈T & kang; from the original elements. |
Zip | Same as EquiZip, but the length of the resulting sequence will be equal to the length of the smallest of the original. |
ZipLongest | Same as EquiZip, but the length of the resulting sequence will be equal to the length of the largest of the original ones (the default value will be used as missing values). |
Source: https://habr.com/ru/post/167831/
All Articles