Mono Class Library: System NamespaceSystem.ParamArrayAttribute Class |
See Also: ParamArrayAttribute Members
System.Object
System.Attribute
System.ParamArrayAttribute
|
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
This attribute can be applied to parameters. A parameter array allows the specification of an unknown number of arguments. The array is required to be a single-dimensional array that is the last parameter in a formal parameter list. It permits arguments to a method to be specified in two ways:
- A single expression of a type that is implicitly convertible to the parameter array type. The array functions as a value parameter.
[Edit]
- Zero or more arguments where each argument is an expression of a type that is implicitly convertible to the type of the parameter-array element.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0