Method ConvertAll
ConvertAll<TOutput>(Converter<T, TOutput>)
Converts the items in the current list to another type, and returns a list containing the converted items.
Declaration
public List<TOutput> ConvertAll<TOutput>(Converter<T, TOutput> converter)
Parameters
| Type | Name | Description |
|---|---|---|
| Converter<T, TOutput> | converter |
Returns
| Type | Description |
|---|---|
| List<TOutput> |
Type Parameters
| Name | Description |
|---|---|
| TOutput |