IListToArray

Convert IList<T> to T[].

Conversion conditions

Conditions are judged in order from the top.
It doesn't matter what type the element's type T is.

Input type Output type Possibility
IList<T> T[] Possible

Other than the above is not possible

Supplement

If the input data instance is T[], the instance is output as is.