Table of Contents

ToArrayOf Method

Definition

ToArrayOf<T>(params T[])

Returns the specified arguments as an array of T.

public static T[] ToArrayOf<T>(params T[] args)

Parameters

args T[]

The arguments to return as an array of T.

Returns

T[]

The specified args.

Type Parameters

T

The type of the elements in args.

Remarks

This method performs no conversion. It simply returns the supplied arguments as a T array.