| CollectionUtilsImplode Method (IEnumerable, String) |
Creates a separated string from the items of a collection.
Mostly used for debugging issues.
Namespace:
Slash.Unity.DataBind.Core.Utils
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static string Implode(
this IEnumerable collection,
string separator
)
<ExtensionAttribute>
Public Shared Function Implode (
collection As IEnumerable,
separator As String
) As String
public:
[ExtensionAttribute]
static String^ Implode(
IEnumerable^ collection,
String^ separator
)
[<ExtensionAttribute>]
static member Implode :
collection : IEnumerable *
separator : string -> string
Parameters
- collection
- Type: System.CollectionsIEnumerable
Collection of items to create a string from. - separator
- Type: SystemString
String to use to separate the item strings.
Return Value
Type:
StringString created from the items which are separated by the provided separator.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also