Share via


String.Concat Method (String, String)

Concatenates two specified String objects.

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

Syntax

[MethodImplAttribute]
public static string Concat (
         string str0,
         string str1
)

Parameters

  • str0
    The first String object you want to concatenate.
  • str1
    The second String object you want to concatenate.

Return Value

The concatenation of the str0 and str1 parameters.

Remarks

An empty String object 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