Mostly redundant, but initializes a list from any IEnumerable.
Namespace: MooshAssembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static List<Object> List(
IEnumerable<Object> list
)
Public Shared Function List (
list As IEnumerable(Of Object)
) As List(Of Object)
public:
static List<Object^>^ List(
IEnumerable<Object^>^ list
)
static member List :
list : IEnumerable<Object> -> List<Object>
Parameters
- list
- Type: System.Collections.GenericIEnumerableObject
The list to initialize with.
Return Value
Type:
ListObjectReturns a new list.
See Also