After I put the IList<T>.ToArray<T>() extension method together, implementing the fluent style join was a simple task.
Here's what that looks like:
public static string Join(this IList<string> list, string separator)That's it! :)
{
return string.Join(separator, list.ToArray());
}
No comments:
Post a Comment