Table of Contents

ToEnumerable Method

Definition

ToEnumerable(params object[])

Returns the specified arguments as an IEnumerable<T> of Object.

public static IEnumerable<object> ToEnumerable(params object[] args)

Parameters

args object[]

The arguments to return as an enumerable sequence of Object.

Returns

IEnumerable<object>

The specified args exposed as an IEnumerable<T> of Object.

Remarks

This method performs no conversion. It simply exposes the supplied arguments through the IEnumerable<T> interface.