System.Linq Provides a set of static (Shared in Visual Basic) methods for querying objects that implement . Applies an accumulator function over a sequence. The final accumulator value. An to aggregate over. An accumulator function to be invoked on each element. The type of the elements of . or is null. contains no elements. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. The final accumulator value. An to aggregate over. The initial accumulator value. An accumulator function to be invoked on each element. The type of the elements of . The type of the accumulator value. or is null. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. The transformed final accumulator value. An to aggregate over. The initial accumulator value. An accumulator function to be invoked on each element. A function to transform the final accumulator value into the result value. The type of the elements of . The type of the accumulator value. The type of the resulting value. or or is null. Determines whether all elements of a sequence satisfy 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. An that contains the elements to apply the predicate to. A function to test each element for a condition. The type of the elements of . or is null. Determines whether a sequence contains any elements. true if the source sequence contains any elements; otherwise, false. The to check for emptiness. The type of the elements of . is null. Determines whether any element of a sequence satisfies a condition. true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. An whose elements to apply the predicate to. A function to test each element for a condition. The type of the elements of . or is null. Returns the input typed as . The input sequence typed as . The sequence to type as . The type of the elements of . Computes the average of a sequence of values. The average of the sequence of values. A sequence of values to calculate the average of. is null. contains no elements. Computes the average of a sequence of values. The average of the sequence of values. A sequence of values to calculate the average of. is null. contains no elements. Computes the average of a sequence of values. The average of the sequence of values. A sequence of values to calculate the average of. is null. contains no elements. Computes the average of a sequence of values. The average of the sequence of values. A sequence of values to calculate the average of. is null. contains no elements. Computes the average of a sequence of nullable values. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of nullable values to calculate the average of. is null. The sum of the elements in the sequence is larger than . Computes the average of a sequence of nullable values. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of nullable values to calculate the average of. is null. Computes the average of a sequence of nullable values. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of nullable values to calculate the average of. is null. The sum of the elements in the sequence is larger than . Computes the average of a sequence of nullable values. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of nullable values to calculate the average of. is null. The sum of the elements in the sequence is larger than . Computes the average of a sequence of nullable values. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of nullable values to calculate the average of. is null. Computes the average of a sequence of values. The average of the sequence of values. A sequence of values to calculate the average of. is null. contains no elements. Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values. A sequence of values that are used to calculate an average. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. The sum of the elements in the sequence is larger than . Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. The sum of the elements in the sequence is larger than . Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of source. or is null. contains no elements. The sum of the elements in the sequence is larger than . Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . or is null. The sum of the elements in the sequence is larger than . Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . or is null. Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . or is null. The sum of the elements in the sequence is larger than . Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . Computes the average of a sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values, or null if the source sequence is empty or contains only values that are null. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . or is null. Computes the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. The average of the sequence of values. A sequence of values to calculate the average of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Casts the elements of an to the specified type. An that contains each element of the source sequence cast to the specified type. The that contains the elements to be cast to type . The type to cast the elements of to. is null. An element in the sequence cannot be cast to type . Concatenates two sequences. An that contains the concatenated elements of the two input sequences. The first sequence to concatenate. The sequence to concatenate to the first sequence. The type of the elements of the input sequences. or is null. Determines whether a sequence contains a specified element by using the default equality comparer. true if the source sequence contains an element that has the specified value; otherwise, false. A sequence in which to locate a value. The value to locate in the sequence. The type of the elements of . is null. Determines whether a sequence contains a specified element by using a specified . true if the source sequence contains an element that has the specified value; otherwise, false. A sequence in which to locate a value. The value to locate in the sequence. An equality comparer to compare values. The type of the elements of . is null. Returns the number of elements in a sequence. The number of elements in the input sequence. A sequence that contains elements to be counted. The type of the elements of . is null. The number of elements in is larger than . Returns a number that represents how many elements in the specified sequence satisfy a condition. A number that represents how many elements in the sequence satisfy the condition in the predicate function. A sequence that contains elements to be tested and counted. A function to test each element for a condition. The type of the elements of . or is null. The number of elements in is larger than . Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. An object that contains the default value for the type if is empty; otherwise, . The sequence to return a default value for if it is empty. The type of the elements of . is null. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. An that contains if is empty; otherwise, . The sequence to return the specified value for if it is empty. The value to return if the sequence is empty. The type of the elements of . Returns distinct elements from a sequence by using the default equality comparer to compare values. An that contains distinct elements from the source sequence. The sequence to remove duplicate elements from. The type of the elements of . is null. Returns distinct elements from a sequence by using a specified to compare values. An that contains distinct elements from the source sequence. The sequence to remove duplicate elements from. An to compare values. The type of the elements of . is null. Returns the element at a specified index in a sequence. The element at the specified position in the source sequence. An to return an element from. The zero-based index of the element to retrieve. The type of the elements of . is null. is less than 0 or greater than or equal to the number of elements in . Returns the element at a specified index in a sequence or a default value if the index is out of range. default() if the index is outside the bounds of the source sequence; otherwise, the element at the specified position in the source sequence. An to return an element from. The zero-based index of the element to retrieve. The type of the elements of . is null. Returns an empty that has the specified type argument. An empty whose type argument is . The type to assign to the type parameter of the returned generic . Produces the set difference of two sequences by using the default equality comparer to compare values. A sequence that contains the set difference of the elements of two sequences. An whose elements that are not also in will be returned. An whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. The type of the elements of the input sequences. or is null. Produces the set difference of two sequences by using the specified to compare values. A sequence that contains the set difference of the elements of two sequences. An whose elements that are not also in will be returned. An whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. An to compare values. The type of the elements of the input sequences. or is null. Returns the first element of a sequence. The first element in the specified sequence. The to return the first element of. The type of the elements of . is null. The source sequence is empty. Returns the first element in a sequence that satisfies a specified condition. The first element in the sequence that passes the test in the specified predicate function. An to return an element from. A function to test each element for a condition. The type of the elements of . or is null. No element satisfies the condition in .-or-The source sequence is empty. Returns the first element of a sequence, or a default value if the sequence contains no elements. default() if is empty; otherwise, the first element in . The to return the first element of. The type of the elements of . is null. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. default() if is empty or if no element passes the test specified by ; otherwise, the first element in that passes the test specified by . An to return an element from. A function to test each element for a condition. The type of the elements of . or is null. Groups the elements of a sequence according to a specified key selector function. An IEnumerable<IGrouping<TKey, TSource>> in C# or IEnumerable(Of IGrouping(Of TKey, TSource)) in Visual Basic where each object contains a sequence of objects and a key. An whose elements to group. A function to extract the key for each element. The type of the elements of . The type of the key returned by . or is null. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. An IEnumerable<IGrouping<TKey, TSource>> in C# or IEnumerable(Of IGrouping(Of TKey, TSource)) in Visual Basic where each object contains a collection of objects and a key. An whose elements to group. A function to extract the key for each element. An to compare keys. The type of the elements of . The type of the key returned by . or is null. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. An IEnumerable<IGrouping<TKey, TElement>> in C# or IEnumerable(Of IGrouping(Of TKey, TElement)) in Visual Basic where each object contains a collection of objects of type and a key. An whose elements to group. A function to extract the key for each element. A function to map each source element to an element in the . The type of the elements of . The type of the key returned by . The type of the elements in the . or or is null. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function. An IEnumerable<IGrouping<TKey, TElement>> in C# or IEnumerable(Of IGrouping(Of TKey, TElement)) in Visual Basic where each object contains a collection of objects of type and a key. An whose elements to group. A function to extract the key for each element. A function to map each source element to an element in an . An to compare keys. The type of the elements of . The type of the key returned by . The type of the elements in the . or or is null. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. A collection of elements of type where each element represents a projection over a group and its key. An whose elements to group. A function to extract the key for each element. A function to map each source element to an element in an . A function to create a result value from each group. The type of the elements of . The type of the key returned by . The type of the elements in each . The type of the result value returned by . Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function. A collection of elements of type where each element represents a projection over a group and its key. An whose elements to group. A function to extract the key for each element. A function to map each source element to an element in an . A function to create a result value from each group. An to compare keys with. The type of the elements of . The type of the key returned by . The type of the elements in each . The type of the result value returned by . Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. A collection of elements of type where each element represents a projection over a group and its key. An whose elements to group. A function to extract the key for each element. A function to create a result value from each group. The type of the elements of . The type of the key returned by . The type of the result value returned by . Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer. A collection of elements of type where each element represents a projection over a group and its key. An whose elements to group. A function to extract the key for each element. A function to create a result value from each group. An to compare keys with. The type of the elements of . The type of the key returned by . The type of the result value returned by . Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. An that contains elements of type that are obtained by performing a grouped join on two sequences. The first sequence to join. The sequence to join to the first sequence. A function to extract the join key from each element of the first sequence. A function to extract the join key from each element of the second sequence. A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. The type of the elements of the first sequence. The type of the elements of the second sequence. The type of the keys returned by the key selector functions. The type of the result elements. or or or or is null. Correlates the elements of two sequences based on key equality and groups the results. A specified is used to compare keys. An that contains elements of type that are obtained by performing a grouped join on two sequences. The first sequence to join. The sequence to join to the first sequence. A function to extract the join key from each element of the first sequence. A function to extract the join key from each element of the second sequence. A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. An to hash and compare keys. The type of the elements of the first sequence. The type of the elements of the second sequence. The type of the keys returned by the key selector functions. The type of the result elements. or or or or is null. Produces the set intersection of two sequences by using the default equality comparer to compare values. A sequence that contains the elements that form the set intersection of two sequences. An whose distinct elements that also appear in will be returned. An whose distinct elements that also appear in the first sequence will be returned. The type of the elements of the input sequences. or is null. Produces the set intersection of two sequences by using the specified to compare values. A sequence that contains the elements that form the set intersection of two sequences. An whose distinct elements that also appear in will be returned. An whose distinct elements that also appear in the first sequence will be returned. An to compare values. The type of the elements of the input sequences. or is null. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. An that has elements of type that are obtained by performing an inner join on two sequences. The first sequence to join. The sequence to join to the first sequence. A function to extract the join key from each element of the first sequence. A function to extract the join key from each element of the second sequence. A function to create a result element from two matching elements. The type of the elements of the first sequence. The type of the elements of the second sequence. The type of the keys returned by the key selector functions. The type of the result elements. or or or or is null. Correlates the elements of two sequences based on matching keys. A specified is used to compare keys. An that has elements of type that are obtained by performing an inner join on two sequences. The first sequence to join. The sequence to join to the first sequence. A function to extract the join key from each element of the first sequence. A function to extract the join key from each element of the second sequence. A function to create a result element from two matching elements. An to hash and compare keys. The type of the elements of the first sequence. The type of the elements of the second sequence. The type of the keys returned by the key selector functions. The type of the result elements. or or or or is null. Returns the last element of a sequence. The value at the last position in the source sequence. An to return the last element of. The type of the elements of . is null. The source sequence is empty. Returns the last element of a sequence that satisfies a specified condition. The last element in the sequence that passes the test in the specified predicate function. An to return an element from. A function to test each element for a condition. The type of the elements of . or is null. No element satisfies the condition in .-or-The source sequence is empty. Returns the last element of a sequence, or a default value if the sequence contains no elements. default() if the source sequence is empty; otherwise, the last element in the . An to return the last element of. The type of the elements of . is null. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. default() if the sequence is empty or if no elements pass the test in the predicate function; otherwise, the last element that passes the test in the predicate function. An to return an element from. A function to test each element for a condition. The type of the elements of . or is null. Returns an that represents the total number of elements in a sequence. The number of elements in the source sequence. An that contains the elements to be counted. The type of the elements of . is null. The number of elements exceeds . Returns an that represents how many elements in a sequence satisfy a condition. A number that represents how many elements in the sequence satisfy the condition in the predicate function. An that contains the elements to be counted. A function to test each element for a condition. The type of the elements of . or is null. The number of matching elements exceeds . Returns the maximum value in a sequence of values. The maximum value in the sequence. A sequence of values to determine the maximum value of. is null. contains no elements. Returns the maximum value in a sequence of values. The maximum value in the sequence. A sequence of values to determine the maximum value of. is null. contains no elements. Returns the maximum value in a sequence of values. The maximum value in the sequence. A sequence of values to determine the maximum value of. is null. contains no elements. Returns the maximum value in a sequence of values. The maximum value in the sequence. A sequence of values to determine the maximum value of. is null. contains no elements. Returns the maximum value in a sequence of nullable values. A value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual Basic that corresponds to the maximum value in the sequence.  A sequence of nullable values to determine the maximum value of. is null. Returns the maximum value in a sequence of nullable values. A value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic that corresponds to the maximum value in the sequence. A sequence of nullable values to determine the maximum value of. is null. Returns the maximum value in a sequence of nullable values. A value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic that corresponds to the maximum value in the sequence.  A sequence of nullable values to determine the maximum value of. is null. Returns the maximum value in a sequence of nullable values. A value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic that corresponds to the maximum value in the sequence.  A sequence of nullable values to determine the maximum value of. is null. Returns the maximum value in a sequence of nullable values. A value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic that corresponds to the maximum value in the sequence. A sequence of nullable values to determine the maximum value of. is null. Returns the maximum value in a sequence of values. The maximum value in the sequence. A sequence of values to determine the maximum value of. is null. contains no elements. Returns the maximum value in a generic sequence. The maximum value in the sequence. A sequence of values to determine the maximum value of. The type of the elements of . is null. Invokes a transform function on each element of a sequence and returns the maximum value. The maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the maximum value. The maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the maximum value. The maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the maximum value. The maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the maximum nullable value. The value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual Basic that corresponds to the maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the maximum nullable value. The value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic that corresponds to the maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the maximum nullable value. The value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic that corresponds to the maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the maximum nullable value. The value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic that corresponds to the maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the maximum nullable value. The value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic that corresponds to the maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the maximum value. The maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. The maximum value in the sequence. A sequence of values to determine the maximum value of. A transform function to apply to each element. The type of the elements of . The type of the value returned by . or is null. Returns the minimum value in a sequence of values. The minimum value in the sequence. A sequence of values to determine the minimum value of. is null. contains no elements. Returns the minimum value in a sequence of values. The minimum value in the sequence. A sequence of values to determine the minimum value of. is null. contains no elements. Returns the minimum value in a sequence of values. The minimum value in the sequence. A sequence of values to determine the minimum value of. is null. contains no elements. Returns the minimum value in a sequence of values. The minimum value in the sequence. A sequence of values to determine the minimum value of. is null. contains no elements. Returns the minimum value in a sequence of nullable values. A value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of nullable values to determine the minimum value of. is null. Returns the minimum value in a sequence of nullable values. A value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of nullable values to determine the minimum value of. is null. Returns the minimum value in a sequence of nullable values. A value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of nullable values to determine the minimum value of. is null. Returns the minimum value in a sequence of nullable values. A value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of nullable values to determine the minimum value of. is null. Returns the minimum value in a sequence of nullable values. A value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of nullable values to determine the minimum value of. is null. Returns the minimum value in a sequence of values. The minimum value in the sequence. A sequence of values to determine the minimum value of. is null. contains no elements. Returns the minimum value in a generic sequence. The minimum value in the sequence. A sequence of values to determine the minimum value of. The type of the elements of . is null. Invokes a transform function on each element of a sequence and returns the minimum value. The minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the minimum value. The minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the minimum value. The minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the minimum value. The minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a sequence and returns the minimum nullable value. The value of type Nullable<Decimal> in C# or Nullable(Of Decimal) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the minimum nullable value. The value of type Nullable<Double> in C# or Nullable(Of Double) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the minimum nullable value. The value of type Nullable<Int32> in C# or Nullable(Of Int32) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the minimum nullable value. The value of type Nullable<Int64> in C# or Nullable(Of Int64) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the minimum nullable value. The value of type Nullable<Single> in C# or Nullable(Of Single) in Visual Basic that corresponds to the minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. Invokes a transform function on each element of a sequence and returns the minimum value. The minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . or is null. contains no elements. Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. The minimum value in the sequence. A sequence of values to determine the minimum value of. A transform function to apply to each element. The type of the elements of . The type of the value returned by . or is null. Filters the elements of an based on a specified type. An that contains elements from the input sequence of type . The whose elements to filter. The type to filter the elements of the sequence on. is null. Sorts the elements of a sequence in ascending order according to a key. An whose elements are sorted according to a key. A sequence of values to order. A function to extract a key from an element. The type of the elements of . The type of the key returned by . or is null. Sorts the elements of a sequence in ascending order by using a specified comparer. An whose elements are sorted according to a key. A sequence of values to order. A function to extract a key from an element. An to compare keys. The type of the elements of . The type of the key returned by . or is null. Sorts the elements of a sequence in descending order according to a key. An whose elements are sorted in descending order according to a key. A sequence of values to order. A function to extract a key from an element. The type of the elements of . The type of the key returned by . or is null. Sorts the elements of a sequence in descending order by using a specified comparer. An whose elements are sorted in descending order according to a key. A sequence of values to order. A function to extract a key from an element. An to compare keys. The type of the elements of . The type of the key returned by . or is null. Generates a sequence of integral numbers within a specified range. An IEnumerable<Int32> in C# or IEnumerable(Of Int32) in Visual Basic that contains a range of sequential integral numbers. The value of the first integer in the sequence. The number of sequential integers to generate. is less than 0.-or- + -1 is larger than . Generates a sequence that contains one repeated value. An that contains a repeated value. The value to be repeated. The number of times to repeat the value in the generated sequence. The type of the value to be repeated in the result sequence. is less than 0. Inverts the order of the elements in a sequence. A sequence whose elements correspond to those of the input sequence in reverse order. A sequence of values to reverse. The type of the elements of . is null. Projects each element of a sequence into a new form. An whose elements are the result of invoking the transform function on each element of . A sequence of values to invoke a transform function on. A transform function to apply to each element. The type of the elements of . The type of the value returned by . or is null. Projects each element of a sequence into a new form by incorporating the element's index. An whose elements are the result of invoking the transform function on each element of . A sequence of values to invoke a transform function on. A transform function to apply to each source element; the second parameter of the function represents the index of the source element. The type of the elements of . The type of the value returned by . or is null. Projects each element of a sequence to an , flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. An whose elements are the result of invoking the one-to-many transform function on each element of and then mapping each of those sequence elements and their corresponding source element to a result element. A sequence of values to project. A transform function to apply to each element of the input sequence. A transform function to apply to each element of the intermediate sequence. The type of the elements of . The type of the intermediate elements collected by . The type of the elements of the resulting sequence. or or is null. Projects each element of a sequence to an and flattens the resulting sequences into one sequence. An whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. A sequence of values to project. A transform function to apply to each element. The type of the elements of . The type of the elements of the sequence returned by . or is null. Projects each element of a sequence to an , flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element. An whose elements are the result of invoking the one-to-many transform function on each element of and then mapping each of those sequence elements and their corresponding source element to a result element. A sequence of values to project. A transform function to apply to each source element; the second parameter of the function represents the index of the source element. A transform function to apply to each element of the intermediate sequence. The type of the elements of . The type of the intermediate elements collected by . The type of the elements of the resulting sequence. or or is null. Projects each element of a sequence to an , and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. An whose elements are the result of invoking the one-to-many transform function on each element of an input sequence. A sequence of values to project. A transform function to apply to each source element; the second parameter of the function represents the index of the source element. The type of the elements of . The type of the elements of the sequence returned by . or is null. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. true if the two source sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type; otherwise, false. An to compare to . An to compare to the first sequence. The type of the elements of the input sequences. or is null. Determines whether two sequences are equal by comparing their elements by using a specified . true if the two source sequences are of equal length and their corresponding elements compare equal according to ; otherwise, false. An to compare to . An to compare to the first sequence. An to use to compare elements. The type of the elements of the input sequences. or is null. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. The single element of the input sequence. An to return the single element of. The type of the elements of . is null. The input sequence contains more than one element.-or-The input sequence is empty. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. The single element of the input sequence that satisfies a condition. An to return a single element from. A function to test an element for a condition. The type of the elements of . or is null. No element satisfies the condition in .-or-More than one element satisfies the condition in .-or-The source sequence is empty. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. The single element of the input sequence, or default() if the sequence contains no elements. An to return the single element of. The type of the elements of . is null. The input sequence contains more than one element. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. The single element of the input sequence that satisfies the condition, or default() if no such element is found. An to return a single element from. A function to test an element for a condition. The type of the elements of . or is null. Bypasses a specified number of elements in a sequence and then returns the remaining elements. An that contains the elements that occur after the specified index in the input sequence. An to return elements from. The number of elements to skip before returning the remaining elements. The type of the elements of . is null. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. An 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 . An to return elements from. A function to test each element for a condition. The type of the elements of . or is null. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. An 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 . An to return elements from. A function to test each source element for a condition; the second parameter of the function represents the index of the source element. The type of the elements of . or is null. Computes the sum of a sequence of values. The sum of the values in the sequence. A sequence of values to calculate the sum of. is null. The sum is larger than . Computes the sum of a sequence of values. The sum of the values in the sequence. A sequence of values to calculate the sum of. is null. Computes the sum of a sequence of values. The sum of the values in the sequence. A sequence of values to calculate the sum of. is null. The sum is larger than . Computes the sum of a sequence of values. The sum of the values in the sequence. A sequence of values to calculate the sum of. is null. The sum is larger than . Computes the sum of a sequence of nullable values. The sum of the values in the sequence. A sequence of nullable values to calculate the sum of. is null. The sum is larger than . Computes the sum of a sequence of nullable values. The sum of the values in the sequence. A sequence of nullable values to calculate the sum of. is null. Computes the sum of a sequence of nullable values. The sum of the values in the sequence. A sequence of nullable values to calculate the sum of. is null. The sum is larger than . Computes the sum of a sequence of nullable values. The sum of the values in the sequence. A sequence of nullable values to calculate the sum of. is null. The sum is larger than . Computes the sum of a sequence of nullable values. The sum of the values in the sequence. A sequence of nullable values to calculate the sum of. is null. Computes the sum of a sequence of values. The sum of the values in the sequence. A sequence of values to calculate the sum of. is null. Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. The sum is larger than . Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. The sum is larger than . Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. The sum is larger than . Computes the sum of the sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. The sum is larger than . Computes the sum of the sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. Computes the sum of the sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. The sum is larger than . Computes the sum of the sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. The sum is larger than . Computes the sum of the sequence of nullable values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. The sum of the projected values. A sequence of values that are used to calculate a sum. A transform function to apply to each element. The type of the elements of . or is null. Returns a specified number of contiguous elements from the start of a sequence. An that contains the specified number of elements from the start of the input sequence. The sequence to return elements from. The number of elements to return. The type of the elements of . is null. Returns elements from a sequence as long as a specified condition is true. An that contains the elements from the input sequence that occur before the element at which the test no longer passes. A sequence to return elements from. A function to test each element for a condition. The type of the elements of . or is null. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. An that contains elements from the input sequence that occur before the element at which the test no longer passes. The sequence to return elements from. A function to test each source element for a condition; the second parameter of the function represents the index of the source element. The type of the elements of . or is null. Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. An whose elements are sorted according to a key. An that contains elements to sort. A function to extract a key from each element. The type of the elements of . The type of the key returned by . or is null. Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. An whose elements are sorted according to a key. An that contains elements to sort. A function to extract a key from each element. An to compare keys. The type of the elements of . The type of the key returned by . or is null. Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. An whose elements are sorted in descending order according to a key. An that contains elements to sort. A function to extract a key from each element. The type of the elements of . The type of the key returned by . or is null. Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. An whose elements are sorted in descending order according to a key. An that contains elements to sort. A function to extract a key from each element. An to compare keys. The type of the elements of . The type of the key returned by . or is null. Creates an array from a . An array that contains the elements from the input sequence. An to create an array from. The type of the elements of . is null. Creates a from an according to a specified key selector function. A that contains keys and values. An to create a from. A function to extract a key from each element. The type of the elements of . The type of the key returned by . or is null.-or- produces a key that is null. produces duplicate keys for two elements. Creates a from an according to a specified key selector function and key comparer. A that contains keys and values. An to create a from. A function to extract a key from each element. An to compare keys. The type of the elements of . The type of the keys returned by . or is null.-or- produces a key that is null. produces duplicate keys for two elements. Creates a from an according to specified key selector and element selector functions. A that contains values of type selected from the input sequence. An to create a from. A function to extract a key from each element. A transform function to produce a result element value from each element. The type of the elements of . The type of the key returned by . The type of the value returned by . or or is null.-or- produces a key that is null. produces duplicate keys for two elements. Creates a from an according to a specified key selector function, a comparer, and an element selector function. A that contains values of type selected from the input sequence. An to create a from. A function to extract a key from each element. A transform function to produce a result element value from each element. An to compare keys. The type of the elements of . The type of the key returned by . The type of the value returned by . or or is null.-or- produces a key that is null. produces duplicate keys for two elements. Creates a from an . A that contains elements from the input sequence. The to create a from. The type of the elements of . is null. Creates a from an according to a specified key selector function. A that contains keys and values. The to create a from. A function to extract a key from each element. The type of the elements of . The type of the key returned by . or is null. Creates a from an according to a specified key selector function and key comparer. A that contains keys and values. The to create a from. A function to extract a key from each element. An to compare keys. The type of the elements of . The type of the key returned by . or is null. Creates a from an according to specified key selector and element selector functions. A that contains values of type selected from the input sequence. The to create a from. A function to extract a key from each element. A transform function to produce a result element value from each element. The type of the elements of . The type of the key returned by . The type of the value returned by . or or is null. Creates a from an according to a specified key selector function, a comparer and an element selector function. A that contains values of type selected from the input sequence. The to create a from. A function to extract a key from each element. A transform function to produce a result element value from each element. An to compare keys. The type of the elements of . The type of the key returned by . The type of the value returned by . or or is null. Produces the set union of two sequences by using the default equality comparer. An that contains the elements from both input sequences, excluding duplicates. An whose distinct elements form the first set for the union. An whose distinct elements form the second set for the union. The type of the elements of the input sequences. or is null. Produces the set union of two sequences by using a specified . An that contains the elements from both input sequences, excluding duplicates. An whose distinct elements form the first set for the union. An whose distinct elements form the second set for the union. The to compare values. The type of the elements of the input sequences. or is null. Filters a sequence of values based on a predicate. An that contains elements from the input sequence that satisfy the condition. An to filter. A function to test each element for a condition. The type of the elements of . or is null. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. An that contains elements from the input sequence that satisfy the condition. An to filter. A function to test each source element for a condition; the second parameter of the function represents the index of the source element. The type of the elements of . or is null. Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results. An that contains merged elements of two input sequences. The first sequence to merge. The second sequence to merge. A function that specifies how to merge the elements from the two sequences. The type of the elements of the first input sequence. The type of the elements of the second input sequence. The type of the elements of the result sequence. or is null. Represents a collection of objects that have a common key. The type of the key of the .This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics. The type of the values in the . 2 Gets the key of the . The key of the . Defines an indexer, size property, and Boolean search method for data structures that map keys to sequences of values. The type of the keys in the . The type of the elements in the sequences that make up the values in the . 2 Determines whether a specified key exists in the . true if is in the ; otherwise, false. The key to search for in the . Gets the number of key/value collection pairs in the . The number of key/value collection pairs in the . Gets the sequence of values indexed by a specified key. The sequence of values indexed by the specified key. The key of the desired sequence of values. Represents a sorted sequence. The type of the elements of the sequence. 2 Performs a subsequent ordering on the elements of an according to a key. An whose elements are sorted according to a key. The used to extract the key for each element. The used to compare keys for placement in the returned sequence. true to sort the elements in descending order; false to sort the elements in ascending order. The type of the key produced by . 2 Represents a collection of keys each mapped to one or more values. The type of the keys in the . The type of the elements of each value in the . 2 Applies a transform function to each key and its associated values and returns the results. A collection that contains one value for each key/value collection pair in the . A function to project a result value from each key and its associated values. The type of the result values produced by . 2 Determines whether a specified key is in the . true if is in the ; otherwise, false. The key to find in the . Gets the number of key/value collection pairs in the . The number of key/value collection pairs in the . Returns a generic enumerator that iterates through the . An enumerator for the . Gets the collection of values indexed by the specified key. The collection of values indexed by the specified key. The key of the desired collection of values. Returns an enumerator that iterates through the . This class cannot be inherited. An enumerator for the .