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
- str0
Type: System. . :: . .String
The first string to concatenate.
- str1
Type: System. . :: . .String
The second string to concatenate.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.