METHOD

Expression.Parameter

Creates a parameter node with a type and optional name.

Formal Syntax & Structure

csharp syntaxcsharp
Expression.Parameter(typeof(int), "n")

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.Expression.Parameter(typeof(int), "n")
C# & .NET Reference