GenericExtensionsToCommaSeparatedString Method |
Converts an enumeration of strings into a comma separated list
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static string ToCommaSeparatedString(
this IEnumerable<string> strings
)
<ExtensionAttribute>
Public Shared Function ToCommaSeparatedString (
strings As IEnumerable(Of String)
) As String
public:
[ExtensionAttribute]
static String^ ToCommaSeparatedString(
IEnumerable<String^>^ strings
)
Parameters
- strings
- Type: System.Collections.GenericIEnumerableString
The enumeration of string objects
Return Value
Type:
StringThe comma separated list of strings
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableString. 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