What does the .Item return when using the invoke Method with an AAdd method?

Hi all, I am doing the Practice 4 - Dictionaries & Doubles, there is an invoke method that Adds a value to the Cities Dictionary, in the properties of the Invoke Method an In as String City is used and An In As Double CitiesList.Item(City), I would like to know what values does the .Item return, to me it returns the Double values in the CitiesList, but Why .Item what does the .Item do? Please look at the pictures higlighted section.

Thank you in advance

Hi @Sidney_Vogel,

I think the .Item is a property of Dictionaries used to access the value associated with the key you have specified - in this case City is the key.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.