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

Concat Method (String[])

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

Concatenates the elements of a specified String array.

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

static member Concat : 
        values:string[] -> string 

Parameters

values
Type: array<System..::..String>[]()[][]
An array of string instances.

Return Value

Type: System..::..String
The concatenated elements of values.

ExceptionCondition
ArgumentNullException

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

OutOfMemoryException

Out of memory.

The method concatenates each object in values; it does not add any delimiters.

An Empty string is used in place of any null object in the array.

Show:
© 2017 Microsoft