Share via


Concat Method (String, String)

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

Concatenates two specified instances of String.

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

Syntax

'Declaration
Public Shared Function Concat ( _
    str0 As String, _
    str1 As String _
) As String
public static string Concat(
    string str0,
    string str1
)
public:
static String^ Concat(
    String^ str0, 
    String^ str1
)
static member Concat : 
        str0:string * 
        str1:string -> string 
public static function Concat(
    str0 : String, 
    str1 : String
) : String

Parameters

Return Value

Type: System. . :: . .String
The concatenation of str0 and str1.

Remarks

The method concatenates str0 and str1; it does not add any delimiters.

An Empty string is used in place of any null argument.

.NET Framework Security

See Also

Reference

String Class

Concat Overload

System Namespace