Mono Class Library: System Namespace

System.ParamArrayAttribute Class

Indicates that a method allows a variable number of arguments in its invocation. [Edit]

See Also: ParamArrayAttribute Members

System.Object
     System.Attribute
          System.ParamArrayAttribute

[System.AttributeUsage(System.AttributeTargets.Parameter)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ParamArrayAttribute : Attribute

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

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:

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0