This documentation is archived and is not being maintained.

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

Concatenates the String representations of four specified objects and any objects specified in an optional variable length parameter list.

This method is not CLS-compliant.   The CLS-compliant alternative is Concat(Object[]).

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

<CLSCompliantAttribute(False)> _
Public Shared Function Concat ( _
	arg0 As Object, _
	arg1 As Object, _
	arg2 As Object, _
	arg3 As Object _
) As String
Dim arg0 As Object
Dim arg1 As Object
Dim arg2 As Object
Dim arg3 As Object
Dim returnValue As String

returnValue = String.Concat(arg0, arg1, arg2, arg3)
/** @attribute CLSCompliantAttribute(false) */ 
public static String Concat (
	Object arg0, 
	Object arg1, 
	Object arg2, 
	Object arg3
public static function Concat (
	arg0 : Object, 
	arg1 : Object, 
	arg2 : Object, 
	arg3 : Object
) : String
Not applicable.



The first Object.


The second Object.


The third Object.


The fourth Object.

Return Value

The concatenated String representations of the values of the arg0, arg1, arg2, and arg3 parameters.

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


The last parameter of the Concat method is an optional comma-delimited list of one or more additional objects to concatenate.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0