Expression.NewArrayInit Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticNewArrayInit(Type, Expression[])

Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.

System_CAPS_pubmethodSystem_CAPS_staticNewArrayInit(Type, IEnumerable<Expression>)

Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.

Return to top
Show: