Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
Not applicable.

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 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft