ToArray Method
Definition
ToArray()
Returns an array of objects that represent the arguments passed to this instance.
public virtual object[] ToArray()
Returns
- object[]
An array of objects that represent the arguments passed to this instance. Returns an empty array if the current instance was constructed with no generic arguments.
ToArray(params object[])
Returns an array of objects that represent the arguments passed to this instance concatenated with the specified additionalArgs.
public object[] ToArray(params object[] additionalArgs)
Parameters
additionalArgsobject[]The additional arguments to concatenate with the objects that represent the arguments passed to this instance.
Returns
- object[]
An array of objects that represent the arguments passed to this instance concatenated with the specified
additionalArgs.