Share via


String.Concat Method (Object, Object)

Concatenates the String representations of two specified Object objects.

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

Syntax

public static string Concat (
         Object arg0,
         Object arg1
)

Parameters

  • arg0
    The first Object object for which you want a concatenated String representation.
  • arg1
    The second Object object for which you want a concatenated String representation.

Return Value

The concatenated String representations of the arg0 and arg1 values for the two specified Object objects.

Remarks

An empty string is used in place of any parameters that contain a null reference.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

String Class
String Members
System Namespace