Hello world.

        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();
         }
posted on 2011-06-17 10:20  Ryan.zhu  阅读(1562)  评论(1编辑  收藏  举报
come soon on