System.Linq.Expressions.NewArrayExpression Class

Represents creating a new array and possibly initializing the elements of the new array.

See Also: NewArrayExpression Members

Syntax

[System.Diagnostics.DebuggerTypeProxy(typeof(System.Linq.Expressions.Expression/NewArrayExpressionProxy))]
public class NewArrayExpression : Expression

Remarks

The following table shows the different factory methods that you can use to create a System.Linq.Expressions.NewArrayExpression depending on the Expression.NodeType you require.

ExpressionType.NewArrayBounds

erload:System.Linq.Expressions.Expression.NewArrayBounds

ExpressionType.NewArrayInit

erload:System.Linq.Expressions.Expression.NewArrayInit

Requirements

Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0, 4.0.0.0