Windows apps
Collapse the table of content
Expand the table of content

Concat Method (Object[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Concatenates the string representations of the elements in a specified Object array.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

static member Concat : 
        args:Object[] -> string 

Parameters

args
Type: array<System..::..Object>[]()[][]
An object array that contains the elements to concatenate.

Return Value

Type: System..::..String
The concatenated string representations of the values of the elements in args.

ExceptionCondition
ArgumentNullException

args is nullNothingnullptrunita null reference (Nothing in Visual Basic).

OutOfMemoryException

Out of memory.

The method concatenates each object in args by calling the parameterless ToString method of that object; it does not add any delimiters.

String..::..Empty is used in place of any null object in the array.

Show:
© 2017 Microsoft