Share via


String.Concat Method (String, String, String)

Concatenates three specified String objects.

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

Syntax

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

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.

Return Value

The concatenation of the str0, str1, and str2 parameters for the specified String 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