$sequence
$sequence : Array
Supports a simple iteration over a non-generic collection. And Provides a set of static (Shared in ``Visual Basic``) methods for querying objects that implement ``System.Collections.Generic.IEnumerable<T>``.
Where( $predicate) : \IEnumerator
$predicate |
Select( $project) : \IEnumerator
$project |
GroupBy( $keySelector) : \IEnumerator
$keySelector |
OrderBy( $keySelector) : \IEnumerator
$keySelector |
OrderByDescending( $keySelector) : \IEnumerator
$keySelector |
Take( $n) : \IEnumerator
$n |
Skip( $n) : \IEnumerator
$n |
SkipWhile(\function $predicate) : \IEnumerator
Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
\function | $predicate | A function to test each element for a condition. |
An System.Collections.Generic.IEnumerable<T>
that contains
the elements from the input sequence starting at the first
element in the linear series that does not pass the test
specified by predicate.
Range(integer $start, integer $count) : \IEnumerator
Generates a subset sequence of object within a specified range.
integer | $start | The value of the first integer in the sequence. |
integer | $count | The number of sequential integers to generate. |
Distinct(\function $keySelector = null) : \IEnumerator
Returns distinct elements from a sequence by using a specified ``System.Collections.Generic.IEqualityComparer<T>`` to compare values.
\function | $keySelector | An |
An System.Collections.Generic.IEnumerable<T>
that contains
distinct elements from the source sequence.
All(\function $predicate) : boolean
Determines whether all elements of a sequence satisfy a condition.
\function | $predicate | A function to test each element for a condition. |
true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false.
Any(\function $predicate) : boolean
Determines whether any element of a sequence satisfies a condition.
\function | $predicate | A function to test each element for a condition. |
true if any elements in the source sequence pass the test in the specified predicate; otherwise, false.
SequenceEquals(array $another, \function $compares = null) : boolean
Determines whether two sequences are equal by comparing their elements by using a specified ``System.Collections.Generic.IEqualityComparer<T>``.
array | $another | An |
\function | $compares | An |
true if the two source sequences are of equal length and their corresponding elements compare equal according to comparer; otherwise, false.
Reverse() : \IEnumerator
Inverts the order of the elements in a sequence.
A sequence whose elements correspond to those of the input sequence in reverse order.
ToList() : \ArrayList
Creates a System.Collections.Generic.List<T> from an System.Collections.Generic.IEnumerable<T>.
A System.Collections.Generic.List