日期:2014-05-17 浏览次数:20854 次
object[] a = new object[30];
Hashtable ht = new Hashtable();
ht.Add("a", "a1");
ht.Add("b", "b1");
ht.Add("c", "c1");
ht.CopyTo(a, 0);
//转为string
string[] s = Array.ConvertAll<object, string>(a, delegate(object o) { return o == null ? "" : o.ToString(); });