ToDelimitedString Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
ToDelimitedString<T>(IEnumerable<T>, Action<DelimitedStringOptions<T>>)
Converts the specified source to a string of delimited values.
public static string ToDelimitedString<T>(this IEnumerable<T> source, Action<DelimitedStringOptions<T>> setup = null)
Parameters
sourceIEnumerable<T>A sequence of elements to be converted.
setupAction<DelimitedStringOptions<T>>The DelimitedStringOptions<T> which may be configured.
Returns
Type Parameters
TThe type of the elements of the sequence to convert.
Exceptions
- ArgumentNullException
sourcecannot be null.