Showing posts with label int. Show all posts
Showing posts with label int. Show all posts

Tuesday, February 12, 2008

Convert an Array of Integers to an Array of Strings

This is just brilliant!


int[] ints = new int[] { 1, 2, 3, 4 };
string[] strings = Array.ConvertAll(ints, Convert.ToString);
see: Kieran Lynam's Blog