Dictionaries exercise: Victories in tour de france

While using invoke method to add a new item to dictionary, encountered following error:

@Maliki4815
adding an entry to a dictionary can be done with following activity (set Argument type properly)
grafik

the issue comes from some wrong arguments / passed datatypes. But as the screenshot doesn’t show the details we cannot inspect more in detail.

What would be a proper TypeArgument in this case? We are trying to add a key/value pair to a dictionary<String,Int32>?

When I use Add to Collection (as shown in your screen shot) it gives a type argument error as shown in following screen shot:

@Maliki4815
it looks to me that you want to work with a dictionary but did use the add to collection Activity. Please refer to the screenshot above indicating the add to dictionary activity

Hello Ammar,
In this video I have multiple examples with Dictionary:

Thanks,
Cristian Negulescu