Export (0) Print
Expand All

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 static string Concat (
	Object arg0,
	Object arg1,
	Object arg2,
	Object arg3
)
/** @attribute CLSCompliantAttribute(false) */ 
public static String Concat (
	Object arg0, 
	Object arg1, 
	Object arg2, 
	Object arg3
)
CLSCompliantAttribute(false) 
public static function Concat (
	arg0 : Object, 
	arg1 : Object, 
	arg2 : Object, 
	arg3 : Object
) : String

Parameters

arg0

The first Object.

arg1

The second Object.

arg2

The third Object.

arg3

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.

NoteNote

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

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft