The best way is to upgrade to .NET 4.0 or later where there is an overload that does what you want:
If you can’t upgrade, you can achieve the same effect using Select and ToArray.
return String.Join(",", a.Select(x => x.ToString()).ToArray());
The best way is to upgrade to .NET 4.0 or later where there is an overload that does what you want:
If you can’t upgrade, you can achieve the same effect using Select and ToArray.
return String.Join(",", a.Select(x => x.ToString()).ToArray());