ArrayExtensions.Map<TInput, TOutput>
Extension Method in ArrayExtensions
Declaration
public static TOutput[] Map<TInput, TOutput>(this TInput[] array, Converter<TInput, TOutput> converter)Description
Maps the elements of the array to a new array using a converter function.
Type Parameters
| TInput | The type of the input array. |
| TOutput | The type of the output array. |
Parameters
| array | The array to map. |
| converter | The converter to use. |
Returns
| T[] | A new array with the converted elements. |