String.Concat Method (Object, Object, Object)

 

Concatenates the string representations of three specified objects.

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

static member Concat : 
        arg0:Object *
        arg1:Object *
        arg2:Object -> string

Parameters

arg0
Type: System.Object

The first object to concatenate.

arg1
Type: System.Object

The second object to concatenate.

arg2
Type: System.Object

The third object to concatenate.

Return Value

Type: System.String

The concatenated string representations of the values of arg0, arg1, and arg2.

The method concatenates arg0, arg1, and arg2 by calling the parameterless ToString method of each object; it does not add any delimiters.

String.Empty is used in place of any null argument.

The following example demonstrates the Concat method.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: