Enumerable クラス
定義
IEnumerable<T> を実装するオブジェクトをクエリするための一連の static
(Visual Basic では Shared
) メソッドを提供します。Provides a set of static
(Shared
in Visual Basic) methods for querying objects that implement IEnumerable<T>.
public ref class Enumerable abstract sealed
public static class Enumerable
type Enumerable = class
Public Module Enumerable
- 継承
-
Enumerable
注釈
このクラスのメソッドは、を実装するデータソースにクエリを実行するための標準クエリ演算子の実装を提供し IEnumerable<T> ます。The methods in this class provide an implementation of the standard query operators for querying data sources that implement IEnumerable<T>. 標準クエリ演算子は、パターンに従う汎用メソッドで、 LINQLINQ 任意ののデータに対するトラバーサル、フィルター処理、および射影操作を可能にします。NET ベースのプログラミング言語。The standard query operators are general purpose methods that follow the LINQLINQ pattern and enable you to express traversal, filter, and projection operations over data in any .NET-based programming language.
このクラスのメソッドの大部分は、を拡張する拡張メソッドとして定義されてい IEnumerable<T> ます。The majority of the methods in this class are defined as extension methods that extend IEnumerable<T>. これは、を実装するオブジェクトのインスタンスメソッドのように、これらを呼び出すことができることを意味 IEnumerable<T> します。This means they can be called like an instance method on any object that implements IEnumerable<T>.
値のシーケンスを返すクエリで使用されるメソッドは、クエリオブジェクトが列挙されるまでターゲットデータを使用しません。Methods that are used in a query that returns a sequence of values do not consume the target data until the query object is enumerated. これを遅延実行と呼びます。This is known as deferred execution. シングルトン値を返すクエリで使用されるメソッドは、ターゲットデータを即座に実行して使用します。Methods that are used in a query that returns a singleton value execute and consume the target data immediately.
メソッド
Aggregate<TSource,TAccumulate,TResult>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, Func<TAccumulate,TResult>) |
シーケンスにアキュムレータ関数を適用します。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. |
Aggregate<TSource,TAccumulate>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>) |
シーケンスにアキュムレータ関数を適用します。Applies an accumulator function over a sequence. 指定されたシード値が最初のアキュムレータ値として使用されます。The specified seed value is used as the initial accumulator value. |
Aggregate<TSource>(IEnumerable<TSource>, Func<TSource,TSource,TSource>) |
シーケンスにアキュムレータ関数を適用します。Applies an accumulator function over a sequence. |
All<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
シーケンスのすべての要素が条件を満たしているかどうかを判断します。Determines whether all elements of a sequence satisfy a condition. |
Any<TSource>(IEnumerable<TSource>) |
シーケンスに要素が含まれているかどうかを判断します。Determines whether a sequence contains any elements. |
Any<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
シーケンスの任意の要素が条件を満たしているかどうかを判断します。Determines whether any element of a sequence satisfies a condition. |
Append<TSource>(IEnumerable<TSource>, TSource) |
シーケンスの末尾に値を追加します。Appends a value to the end of the sequence. |
AsEnumerable<TSource>(IEnumerable<TSource>) |
IEnumerable<T> として型指定された入力を返します。Returns the input typed as IEnumerable<T>. |
Average(IEnumerable<Decimal>) |
Decimal 値のシーケンスの平均値を計算します。Computes the average of a sequence of Decimal values. |
Average(IEnumerable<Double>) |
Double 値のシーケンスの平均値を計算します。Computes the average of a sequence of Double values. |
Average(IEnumerable<Int32>) |
Int32 値のシーケンスの平均値を計算します。Computes the average of a sequence of Int32 values. |
Average(IEnumerable<Int64>) |
Int64 値のシーケンスの平均値を計算します。Computes the average of a sequence of Int64 values. |
Average(IEnumerable<Nullable<Decimal>>) |
Null 許容型の Decimal 値のシーケンスの平均を計算します。Computes the average of a sequence of nullable Decimal values. |
Average(IEnumerable<Nullable<Double>>) |
Null 許容型の Double 値のシーケンスの平均を計算します。Computes the average of a sequence of nullable Double values. |
Average(IEnumerable<Nullable<Int32>>) |
Null 許容型の Int32 値のシーケンスの平均を計算します。Computes the average of a sequence of nullable Int32 values. |
Average(IEnumerable<Nullable<Int64>>) |
Null 許容型の Int64 値のシーケンスの平均を計算します。Computes the average of a sequence of nullable Int64 values. |
Average(IEnumerable<Nullable<Single>>) |
Null 許容型の Single 値のシーケンスの平均を計算します。Computes the average of a sequence of nullable Single values. |
Average(IEnumerable<Single>) |
Single 値のシーケンスの平均値を計算します。Computes the average of a sequence of Single values. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Decimal 値のシーケンスの平均値を計算します。Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Double>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Double 値のシーケンスの平均値を計算します。Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Int32>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Int32 値のシーケンスの平均値を計算します。Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Int64>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Int64 値のシーケンスの平均値を計算します。Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Decimal 値のシーケンスの平均値を計算します。Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Double 値のシーケンスの平均値を計算します。Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Int32 値のシーケンスの平均値を計算します。Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Int64 値のシーケンスの平均値を計算します。Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Single 値のシーケンスの平均値を計算します。Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. |
Average<TSource>(IEnumerable<TSource>, Func<TSource,Single>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Single 値のシーケンスの平均値を計算します。Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. |
Cast<TResult>(IEnumerable) |
IEnumerable の要素を、指定した型にキャストします。Casts the elements of an IEnumerable to the specified type. |
Concat<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) |
2 つのシーケンスを連結します。Concatenates two sequences. |
Contains<TSource>(IEnumerable<TSource>, TSource) |
既定の等値比較子を使用して、指定した要素がシーケンスに含まれているかどうかを判断します。Determines whether a sequence contains a specified element by using the default equality comparer. |
Contains<TSource>(IEnumerable<TSource>, TSource, IEqualityComparer<TSource>) |
指定した IEqualityComparer<T> を使用して、指定した要素がシーケンスに含まれているかどうかを判断します。Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>. |
Count<TSource>(IEnumerable<TSource>) |
シーケンス内の要素数を返します。Returns the number of elements in a sequence. |
Count<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
条件を満たす、指定されたシーケンス内の要素の数を表す数値を返します。Returns a number that represents how many elements in the specified sequence satisfy a condition. |
DefaultIfEmpty<TSource>(IEnumerable<TSource>) |
指定したシーケンスの要素を返します。シーケンスが空の場合はシングルトン コレクションにある型パラメーターの既定値を返します。Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. |
DefaultIfEmpty<TSource>(IEnumerable<TSource>, TSource) |
指定されたシーケンスの要素を返します。シーケンスが空の場合はシングルトン コレクションにある型パラメーターの既定値を返します。Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. |
Distinct<TSource>(IEnumerable<TSource>) |
既定の等値比較子を使用して値を比較することにより、シーケンスから一意の要素を返します。Returns distinct elements from a sequence by using the default equality comparer to compare values. |
Distinct<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>) |
指定された IEqualityComparer<T> を使用して値を比較することにより、シーケンスから一意の要素を返します。Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values. |
ElementAt<TSource>(IEnumerable<TSource>, Int32) |
シーケンス内の指定されたインデックス位置にある要素を返します。Returns the element at a specified index in a sequence. |
ElementAtOrDefault<TSource>(IEnumerable<TSource>, Int32) |
シーケンス内の指定したインデックス位置にある要素を返します。インデックスが範囲外の場合は既定値を返します。Returns the element at a specified index in a sequence or a default value if the index is out of range. |
Empty<TResult>() |
指定した型引数を持つ空の IEnumerable<T> を返します。Returns an empty IEnumerable<T> that has the specified type argument. |
Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) |
既定の等値比較子を使用して値を比較することにより、2 つのシーケンスの差集合を生成します。Produces the set difference of two sequences by using the default equality comparer to compare values. |
Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) |
指定された IEqualityComparer<T> を使用して値を比較することにより、2 つのシーケンスの差集合を生成します。Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values. |
First<TSource>(IEnumerable<TSource>) |
シーケンスの最初の要素を返します。Returns the first element of a sequence. |
First<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
指定された条件を満たす、シーケンスの最初の要素を返します。Returns the first element in a sequence that satisfies a specified condition. |
FirstOrDefault<TSource>(IEnumerable<TSource>) |
シーケンスの最初の要素を返します。シーケンスに要素が含まれていない場合は既定値を返します。Returns the first element of a sequence, or a default value if the sequence contains no elements. |
FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
条件を満たす、シーケンスの最初の要素を返します。このような要素が見つからない場合は既定値を返します。Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. |
GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,TResult>) |
指定されたキー セレクター関数に従ってシーケンスの要素をグループ化し、各グループとそのキーから結果値を作成します。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. |
GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,TResult>, IEqualityComparer<TKey>) |
指定されたキー セレクター関数に従ってシーケンスの要素をグループ化し、各グループとそのキーから結果値を作成します。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. |
GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>) |
指定されたキー セレクター関数に従ってシーケンスの要素をグループ化し、指定された関数を使用して各グループの要素を射影します。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. |
GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>) |
キー セレクター関数に従ってシーケンスの要素をグループ化します。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. |
GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>) |
指定されたキー セレクター関数に従ってシーケンスの要素をグループ化し、各グループとそのキーから結果値を作成します。Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. |
GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>, IEqualityComparer<TKey>) |
指定されたキー セレクター関数に従ってシーケンスの要素をグループ化し、各グループとそのキーから結果値を作成します。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. |
GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>) |
指定されたキー セレクター関数に従ってシーケンスの要素をグループ化します。Groups the elements of a sequence according to a specified key selector function. |
GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>) |
指定されたキー セレクター関数に従ってシーケンスの要素をグループ化し、指定された比較子を使用してキーを比較します。Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. |
GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,TResult>) |
キーが等しいかどうかに基づいて 2 つのシーケンスの要素を相互に関連付け、その結果をグループ化します。Correlates the elements of two sequences based on equality of keys and groups the results. キーの比較には既定の等値比較子が使用されます。The default equality comparer is used to compare keys. |
GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,TResult>, IEqualityComparer<TKey>) |
キーが等しいかどうかに基づいて 2 つのシーケンスの要素を相互に関連付け、その結果をグループ化します。Correlates the elements of two sequences based on key equality and groups the results. 指定された IEqualityComparer<T> を使用してキーを比較します。A specified IEqualityComparer<T> is used to compare keys. |
Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) |
既定の等値比較子を使用して値を比較することにより、2 つのシーケンスの積集合を生成します。Produces the set intersection of two sequences by using the default equality comparer to compare values. |
Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) |
指定された IEqualityComparer<T> を使用して値を比較することにより、2 つのシーケンスの積集合を生成します。Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values. |
Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>) |
一致するキーに基づいて 2 つのシーケンスの要素を相互に関連付けます。Correlates the elements of two sequences based on matching keys. キーの比較には既定の等値比較子が使用されます。The default equality comparer is used to compare keys. |
Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>, IEqualityComparer<TKey>) |
一致するキーに基づいて 2 つのシーケンスの要素を相互に関連付けます。Correlates the elements of two sequences based on matching keys. 指定された IEqualityComparer<T> を使用してキーを比較します。A specified IEqualityComparer<T> is used to compare keys. |
Last<TSource>(IEnumerable<TSource>) |
シーケンスの最後の要素を返します。Returns the last element of a sequence. |
Last<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
指定された条件を満たす、シーケンスの最後の要素を返します。Returns the last element of a sequence that satisfies a specified condition. |
LastOrDefault<TSource>(IEnumerable<TSource>) |
シーケンスの最後の要素を返します。シーケンスに要素が含まれていない場合は既定値を返します。Returns the last element of a sequence, or a default value if the sequence contains no elements. |
LastOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
条件を満たす、シーケンスの最後の要素を返します。このような要素が見つからない場合は既定値を返します。Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. |
LongCount<TSource>(IEnumerable<TSource>) |
シーケンス内の要素の合計数を表す Int64 を返します。Returns an Int64 that represents the total number of elements in a sequence. |
LongCount<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
シーケンス内で条件を満たす要素の数を表す Int64 を返します。Returns an Int64 that represents how many elements in a sequence satisfy a condition. |
Max(IEnumerable<Decimal>) |
Decimal 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of Decimal values. |
Max(IEnumerable<Double>) |
Double 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of Double values. |
Max(IEnumerable<Int32>) |
Int32 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of Int32 values. |
Max(IEnumerable<Int64>) |
Int64 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of Int64 values. |
Max(IEnumerable<Nullable<Decimal>>) |
null 許容の Decimal 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of nullable Decimal values. |
Max(IEnumerable<Nullable<Double>>) |
null 許容の Double 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of nullable Double values. |
Max(IEnumerable<Nullable<Int32>>) |
null 許容の Int32 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of nullable Int32 values. |
Max(IEnumerable<Nullable<Int64>>) |
null 許容の Int64 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of nullable Int64 values. |
Max(IEnumerable<Nullable<Single>>) |
null 許容の Single 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of nullable Single values. |
Max(IEnumerable<Single>) |
Single 値のシーケンスの最大値を返します。Returns the maximum value in a sequence of Single values. |
Max<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>) |
ジェネリック シーケンスの各要素に対して変換関数を呼び出し、結果の最大値を返します。Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. |
Max<TSource>(IEnumerable<TSource>) |
ジェネリック シーケンスの最大値を返します。Returns the maximum value in a generic sequence. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>) |
シーケンスの各要素に対して変換関数を呼び出し、Decimal の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum Decimal value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Double>) |
シーケンスの各要素に対して変換関数を呼び出し、Double の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum Double value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Int32>) |
シーケンスの各要素に対して変換関数を呼び出し、Int32 の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum Int32 value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Int64>) |
シーケンスの各要素に対して変換関数を呼び出し、Int64 の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum Int64 value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Decimal の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Double の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum nullable Double value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Int32 の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Int64 の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Single の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum nullable Single value. |
Max<TSource>(IEnumerable<TSource>, Func<TSource,Single>) |
シーケンスの各要素に対して変換関数を呼び出し、Single の最大値を返します。Invokes a transform function on each element of a sequence and returns the maximum Single value. |
Min(IEnumerable<Decimal>) |
Decimal 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of Decimal values. |
Min(IEnumerable<Double>) |
Double 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of Double values. |
Min(IEnumerable<Int32>) |
Int32 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of Int32 values. |
Min(IEnumerable<Int64>) |
Int64 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of Int64 values. |
Min(IEnumerable<Nullable<Decimal>>) |
null 許容の Decimal 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of nullable Decimal values. |
Min(IEnumerable<Nullable<Double>>) |
null 許容の Double 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of nullable Double values. |
Min(IEnumerable<Nullable<Int32>>) |
null 許容の Int32 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of nullable Int32 values. |
Min(IEnumerable<Nullable<Int64>>) |
null 許容の Int64 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of nullable Int64 values. |
Min(IEnumerable<Nullable<Single>>) |
null 許容の Single 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of nullable Single values. |
Min(IEnumerable<Single>) |
Single 値のシーケンスの最小値を返します。Returns the minimum value in a sequence of Single values. |
Min<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>) |
ジェネリック シーケンスの各要素に対して変換関数を呼び出し、結果の最小値を返します。Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. |
Min<TSource>(IEnumerable<TSource>) |
ジェネリック シーケンスの最小値を返します。Returns the minimum value in a generic sequence. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>) |
シーケンスの各要素に対して変換関数を呼び出し、Decimal の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum Decimal value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Double>) |
シーケンスの各要素に対して変換関数を呼び出し、Double の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum Double value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Int32>) |
シーケンスの各要素に対して変換関数を呼び出し、Int32 の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum Int32 value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Int64>) |
シーケンスの各要素に対して変換関数を呼び出し、Int64 の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum Int64 value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Decimal の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Double の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum nullable Double value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Int32 の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Int64 の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>) |
シーケンスの各要素に対して変換関数を呼び出し、null 許容の Single の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum nullable Single value. |
Min<TSource>(IEnumerable<TSource>, Func<TSource,Single>) |
シーケンスの各要素に対して変換関数を呼び出し、Single の最小値を返します。Invokes a transform function on each element of a sequence and returns the minimum Single value. |
OfType<TResult>(IEnumerable) |
指定された型に基づいて IEnumerable の要素をフィルター処理します。Filters the elements of an IEnumerable based on a specified type. |
OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>) |
シーケンスの要素をキーに従って昇順に並べ替えます。Sorts the elements of a sequence in ascending order according to a key. |
OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>) |
指定された比較子を使用してシーケンスの要素を昇順に並べ替えます。Sorts the elements of a sequence in ascending order by using a specified comparer. |
OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>) |
シーケンスの要素をキーに従って降順に並べ替えます。Sorts the elements of a sequence in descending order according to a key. |
OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>) |
指定された比較子を使用してシーケンスの要素を降順に並べ替えます。Sorts the elements of a sequence in descending order by using a specified comparer. |
Prepend<TSource>(IEnumerable<TSource>, TSource) |
シーケンスの先頭に値を追加します。Adds a value to the beginning of the sequence. |
Range(Int32, Int32) |
指定した範囲内の整数のシーケンスを生成します。Generates a sequence of integral numbers within a specified range. |
Repeat<TResult>(TResult, Int32) |
繰り返される 1 つの値を含むシーケンスを生成します。Generates a sequence that contains one repeated value. |
Reverse<TSource>(IEnumerable<TSource>) |
シーケンスの要素の順序を反転させます。Inverts the order of the elements in a sequence. |
Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,TResult>) |
要素のインデックスを組み込むことにより、シーケンスの各要素を新しいフォームに射影します。Projects each element of a sequence into a new form by incorporating the element's index. |
Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>) |
シーケンスの各要素を新しいフォームに射影します。Projects each element of a sequence into a new form. |
SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>) |
シーケンスの各要素を IEnumerable<T> に射影し、結果のシーケンスを 1 つのシーケンスに平坦化して、その各要素に対して結果のセレクター関数を呼び出します。Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. |
SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>) |
シーケンスの各要素を IEnumerable<T> に射影し、結果のシーケンスを 1 つのシーケンスに平坦化して、その各要素に対して結果のセレクター関数を呼び出します。Projects each element of a sequence to an IEnumerable<T>, 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. |
SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TResult>>) |
シーケンスの各要素を IEnumerable<T> に射影し、結果のシーケンスを 1 つのシーケンスに平坦化します。Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence. |
SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TResult>>) |
シーケンスの各要素を IEnumerable<T> に射影し、結果のシーケンスを 1 つのシーケンスに平坦化します。Projects each element of a sequence to an IEnumerable<T>, and flattens the resulting sequences into one sequence. 各ソース要素のインデックスは、その要素の射影されたフォームで使用されます。The index of each source element is used in the projected form of that element. |
SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) |
要素の型に対して既定の等値比較子を使用して要素を比較することで、2 つのシーケンスが等しいかどうかを判断します。Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. |
SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) |
指定された IEqualityComparer<T> を使用して要素を比較することで、2 つのシーケンスが等しいかどうかを判断します。Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>. |
Single<TSource>(IEnumerable<TSource>) |
シーケンスの唯一の要素を返し、シーケンス内の要素が 1 つだけでない場合は例外をスローします。Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. |
Single<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
指定された条件を満たす、シーケンスの唯一の要素を返し、そのような要素が複数存在する場合は例外をスローします。Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. |
SingleOrDefault<TSource>(IEnumerable<TSource>) |
シーケンスの唯一の要素を返します。シーケンスが空の場合、既定値を返します。シーケンス内に要素が複数ある場合、このメソッドは例外をスローします。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. |
SingleOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
指定された条件を満たすシーケンスの唯一の要素、またはそのような要素がない場合は既定値を返します。このメソッドは、複数の要素が条件を満たす場合に例外をスローします。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. |
Skip<TSource>(IEnumerable<TSource>, Int32) |
シーケンス内の指定された数の要素をバイパスし、残りの要素を返します。Bypasses a specified number of elements in a sequence and then returns the remaining elements. |
SkipLast<TSource>(IEnumerable<TSource>, Int32) |
|
SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
指定された条件が満たされる限り、シーケンスの要素をバイパスした後、残りの要素を返します。Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. |
SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>) |
指定された条件が満たされる限り、シーケンスの要素をバイパスした後、残りの要素を返します。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. |
Sum(IEnumerable<Decimal>) |
Decimal 値のシーケンスの合計を計算します。Computes the sum of a sequence of Decimal values. |
Sum(IEnumerable<Double>) |
Double 値のシーケンスの合計を計算します。Computes the sum of a sequence of Double values. |
Sum(IEnumerable<Int32>) |
Int32 値のシーケンスの合計を計算します。Computes the sum of a sequence of Int32 values. |
Sum(IEnumerable<Int64>) |
Int64 値のシーケンスの合計を計算します。Computes the sum of a sequence of Int64 values. |
Sum(IEnumerable<Nullable<Decimal>>) |
null 許容の Decimal 値のシーケンスの合計を計算します。Computes the sum of a sequence of nullable Decimal values. |
Sum(IEnumerable<Nullable<Double>>) |
null 許容の Double 値のシーケンスの合計を計算します。Computes the sum of a sequence of nullable Double values. |
Sum(IEnumerable<Nullable<Int32>>) |
null 許容の Int32 値のシーケンスの合計を計算します。Computes the sum of a sequence of nullable Int32 values. |
Sum(IEnumerable<Nullable<Int64>>) |
null 許容の Int64 値のシーケンスの合計を計算します。Computes the sum of a sequence of nullable Int64 values. |
Sum(IEnumerable<Nullable<Single>>) |
null 許容の Single 値のシーケンスの合計を計算します。Computes the sum of a sequence of nullable Single values. |
Sum(IEnumerable<Single>) |
Single 値のシーケンスの合計を計算します。Computes the sum of a sequence of Single values. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Decimal 値のシーケンスの合計を計算します。Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Double>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Double 値のシーケンスの合計を計算します。Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int32>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Int32 値のシーケンスの合計を計算します。Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int64>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Int64 値のシーケンスの合計を計算します。Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Decimal 値のシーケンスの合計を計算します。Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Double 値のシーケンスの合計を計算します。Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Int32 値のシーケンスの合計を計算します。Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Int64 値のシーケンスの合計を計算します。Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する null 許容の Single 値のシーケンスの合計を計算します。Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. |
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Single>) |
入力シーケンスの各要素に対して変換関数を呼び出して取得する Single 値のシーケンスの合計を計算します。Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. |
Take<TSource>(IEnumerable<TSource>, Int32) |
シーケンスの先頭から、指定された数の連続する要素を返します。Returns a specified number of contiguous elements from the start of a sequence. |
TakeLast<TSource>(IEnumerable<TSource>, Int32) |
|
TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
指定された条件が満たされる限り、シーケンスから要素を返します。Returns elements from a sequence as long as a specified condition is true. |
TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>) |
指定された条件が満たされる限り、シーケンスから要素を返します。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. |
ThenBy<TSource,TKey>(IOrderedEnumerable<TSource>, Func<TSource,TKey>) |
キーに従って、シーケンス内の後続の要素を昇順で配置します。Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. |
ThenBy<TSource,TKey>(IOrderedEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>) |
指定された比較子を使用して、シーケンス内の後続の要素を昇順で配置します。Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. |
ThenByDescending<TSource,TKey>(IOrderedEnumerable<TSource>, Func<TSource,TKey>) |
キーに従って、シーケンス内の後続の要素を降順で配置します。Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. |
ThenByDescending<TSource,TKey>(IOrderedEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>) |
指定された比較子を使用して、シーケンス内の後続の要素を降順で配置します。Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. |
ToArray<TSource>(IEnumerable<TSource>) |
IEnumerable<T> から配列を作成します。Creates an array from a IEnumerable<T>. |
ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>) |
指定されたキー セレクター関数および要素セレクター関数に従って、Dictionary<TKey,TValue> から IEnumerable<T> を作成します。Creates a Dictionary<TKey,TValue> from an IEnumerable<T> according to specified key selector and element selector functions. |
ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>) |
指定されたキー セレクター関数、比較子、および要素セレクター関数に従って、Dictionary<TKey,TValue> から IEnumerable<T> を作成します。Creates a Dictionary<TKey,TValue> from an IEnumerable<T> according to a specified key selector function, a comparer, and an element selector function. |
ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>) |
指定されたキー セレクター関数に従って、Dictionary<TKey,TValue> から IEnumerable<T> を作成します。Creates a Dictionary<TKey,TValue> from an IEnumerable<T> according to a specified key selector function. |
ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>) |
指定されたキー セレクター関数およびキーの比較子に従って、Dictionary<TKey,TValue> から IEnumerable<T> を作成します。Creates a Dictionary<TKey,TValue> from an IEnumerable<T> according to a specified key selector function and key comparer. |
ToHashSet<TSource>(IEnumerable<TSource>) |
IEnumerable<T> から HashSet<T> を作成します。Creates a HashSet<T> from an IEnumerable<T>. |
ToHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>) |
|
ToList<TSource>(IEnumerable<TSource>) |
IEnumerable<T> から List<T> を作成します。Creates a List<T> from an IEnumerable<T>. |
ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>) |
指定されたキー セレクター関数および要素セレクター関数に従って、Lookup<TKey,TElement> から IEnumerable<T> を作成します。Creates a Lookup<TKey,TElement> from an IEnumerable<T> according to specified key selector and element selector functions. |
ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>) |
指定されたキー セレクター関数、比較子、および要素セレクター関数に従って、Lookup<TKey,TElement> から IEnumerable<T> を作成します。Creates a Lookup<TKey,TElement> from an IEnumerable<T> according to a specified key selector function, a comparer and an element selector function. |
ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>) |
指定されたキー セレクター関数に従って、Lookup<TKey,TElement> から IEnumerable<T> を作成します。Creates a Lookup<TKey,TElement> from an IEnumerable<T> according to a specified key selector function. |
ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>) |
指定されたキー セレクター関数およびキーの比較子に従って、Lookup<TKey,TElement> から IEnumerable<T> を作成します。Creates a Lookup<TKey,TElement> from an IEnumerable<T> according to a specified key selector function and key comparer. |
Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) |
既定の等値比較子を使用して、2 つのシーケンスの和集合を生成します。Produces the set union of two sequences by using the default equality comparer. |
Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) |
指定された IEqualityComparer<T> を使用して 2 つのシーケンスの和集合を生成します。Produces the set union of two sequences by using a specified IEqualityComparer<T>. |
Where<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>) |
述語に基づいて値のシーケンスをフィルター処理します。Filters a sequence of values based on a predicate. |
Where<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>) |
述語に基づいて値のシーケンスをフィルター処理します。Filters a sequence of values based on a predicate. 各要素のインデックスは、述語関数のロジックで使用されます。Each element's index is used in the logic of the predicate function. |
Zip<TFirst,TSecond,TResult>(IEnumerable<TFirst>, IEnumerable<TSecond>, Func<TFirst,TSecond,TResult>) |
2 つのシーケンスの対応する要素に対して、1 つの指定した関数を適用し、結果として 1 つのシーケンスを生成します。Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results. |
Zip<TFirst,TSecond>(IEnumerable<TFirst>, IEnumerable<TSecond>) |
指定された 2 つのシーケンスの要素を持つタプルのシーケンスを生成します。Produces a sequence of tuples with elements from the two specified sequences. |