共用方式為


String.Concat Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Concatenates one or more instances of String, or the String representations of the values of one or more instances of Object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows Phone Concat<T>(IEnumerable<T>) Concatenates the members of an IEnumerable<T> implementation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(Object) Creates the String representation of a specified object.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(array<Object[]) Concatenates the string representations of the elements in a specified Object array.
Public methodStatic memberSupported by Silverlight for Windows Phone Concat(IEnumerable<String>) Concatenates the members of a constructed IEnumerable<T> collection of type String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(array<String[]) Concatenates the elements of a specified String array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(Object, Object) Concatenates the string representations of two specified objects.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(String, String) Concatenates two specified instances of String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(Object, Object, Object) Concatenates the String representations of three specified objects.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(String, String, String) Concatenates three specified instances of String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(String, String, String, String) Concatenates four specified instances of String.

Top

See Also

Reference