Skip to content

Instantly share code, notes, and snippets.

@hwada
Created April 12, 2011 05:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hwada/914980 to your computer and use it in GitHub Desktop.
Save hwada/914980 to your computer and use it in GitHub Desktop.
public static class StringExtensions
{
public static string Join<T>(this T[] self, string separator)
{
return string.Join(separator, self.Select(x => x.ToString()).ToArray());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment