Hey, how coul开发者_如何学编程d I do this as short as possible?
Thanks :-)
Try this:
System.Collections.Hashtable ht = new System.Collections.Hashtable();
List<string> list = ht.Keys.Cast<string>().ToList();
Hey, how coul开发者_如何学编程d I do this as short as possible?
Thanks :-)
Try this:
System.Collections.Hashtable ht = new System.Collections.Hashtable();
List<string> list = ht.Keys.Cast<string>().ToList();
精彩评论