I have a TDictionary<TKeyClass, TValueClass> .
I want to do something like
for i := 0 to MyDictionary.Count -1 do ShowMessage(MyDictionary.Keys[i].AStringProperty)
I canβt access the keys anymore, I can just use them if I know them for sure.
The only alternative is creating a TDictionary<TValueClass, TKeyValue> ? So can I loop the keys?
The desktop I found is to create a TList<TKeyClass> , but this is what I don't like.
delphi
Labracca
source share