(Untitled)

May 27, 2009 16:27

Huzzah! I love Extension Methods :)

This one I wrote today will take a delegate or lambda and use it to automatically create a delimited list from an IEnumerable of T:

public static string Delimit(this IEnumerable enumerable, Func toStringConverter, string delimiter ( Read more... )

Leave a comment

Comments 1

ext_5815399 August 22 2021, 15:24:16 UTC
Wow, 12 years ago I wrote that.

Of course you can do:

string.Join(, enumerable.Select(toStringConverter));

Reply


Leave a comment

Up