views:

55

answers:

1

Hey, how could I do this as short as possible?

Thanks :-)

+7  A: 

Try this

    System.Collections.Hashtable ht = new System.Collections.Hashtable();
    List<string> list = ht.Keys.Cast<string>().ToList();

Greets Flo

Florian Reischl