Extension Methods from Steven Jeuris
-
IfNotNull
Returns a selected value when the source is not null; null otherwise.
-
Combinations
Returns all combinations of a chosen amount of selected elements in the sequence.
-
Clamp
Limit a value to a certain range. When the value is smaller/bigger than the range, snap it to the range border.
-
Zip
Merges three sequences by using the specified predicate function.
-
CountOf
Returns whether the sequence contains a certain amount of elements, without having to traverse the entire collection.