Hashtables e ordem chave
Existe uma maneira de manter a ordem das chaves em uma hashtable conforme elas foram adicionadas? Como um mecanismo push / pop.
Exemplo:
$hashtable = @{}
$hashtable.Add("Switzerland", "Bern")
$hashtable.Add("Spain", "Madrid")
$hashtable.Add("Italy", "Rome")
$hashtable.Add("Germany", "Berlin")
$hashtable
Quero manter a ordem em que adicionei os elementos à hashtable.