Share via


Concat Method (Object)

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

Creates the string representation of a specified object.

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

Syntax

'Declaration
Public Shared Function Concat ( _
    arg0 As Object _
) As String
public static string Concat(
    Object arg0
)
public:
static String^ Concat(
    Object^ arg0
)
static member Concat : 
        arg0:Object -> string 
public static function Concat(
    arg0 : Object
) : String

Parameters

  • arg0
    Type: System. . :: . .Object
    The object to represent, or nullNothingnullptrunita null reference (Nothing in Visual Basic).

Return Value

Type: System. . :: . .String
The string representation of the value of arg0, or String..::..Empty if arg0 is nullNothingnullptrunita null reference (Nothing in Visual Basic).

Remarks

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

.NET Framework Security

See Also

Reference

String Class

Concat Overload

System Namespace