I have a Collection, the keys are strings and the values are Collections. In the sub Collections the keys are strings and values are Singles/Floats.

How would I loop through all of the data? I need to get the keys and values not just the values.

I've tried this but it produces a cast error:

Code:
        Dim de As DictionaryEntry

        For Each de In MyCol
            'key should be in de.Key
            'value should be in de.Value
        Next
Cheers