Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

String.Concat Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:
© 2018 Microsoft