private static string iii(long i) { return i.ToString(); }
public static void Main(string[] args)
{
List<long> listtemp = new List<long>();
listtemp.Add(1000);
listtemp.Add(1000);
listtemp.Add(1000);
listtemp.Add(1000);
string[] ttt = Array.ConvertAll(listtemp.ToArray(), new Converter<long, string>(iii));
string[] bbb = Array.ConvertAll<long, string>(listtemp.ToArray(), delegate(long x) { return x.ToString(); });
Console.WriteLine(string.Join(",", bbb));
Console.Read();
}
public static void Main(string[] args)
{
List<long> listtemp = new List<long>();
listtemp.Add(1000);
listtemp.Add(1000);
listtemp.Add(1000);
listtemp.Add(1000);
string[] ttt = Array.ConvertAll(listtemp.ToArray(), new Converter<long, string>(iii));
string[] bbb = Array.ConvertAll<long, string>(listtemp.ToArray(), delegate(long x) { return x.ToString(); });
Console.WriteLine(string.Join(",", bbb));
Console.Read();
}