Share via


String.Concat Method (String, String, String, String)

Concatenates four specified String objects.

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

Syntax

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

Parameters

  • str0
    The first String object you want to concatenate.
  • str1
    The second String object you want to concatenate.
  • str2
    The third String object you want to concatenate.
  • str3
    The fourth String object you want to concatenate.

Return Value

The concatenation of the str0, str1, str2, and str3 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