String.Concat Method (Object)

 

Creates the string representation of a specified object.

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

static member Concat : 
        arg0:Object -> string

Parameters

arg0
Type: System.Object

The object to represent, or null.

Return Value

Type: System.String

The string representation of the value of arg0, or String.Empty if arg0 is null.

The Concat(Object) method represents arg0 as a string by calling its parameterless ToString method.

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: