Assign New dictionary error

Hello,
I am facing an error in assigning new dictionary

  1. Dict is of Key: “String” and Value : "Array ( Of Int32 )

My aim is to have a key as month name and value is list of their dates
for example
{“March” : {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31} }

Can you show the error message by hovering the blue icon

Hi,

You can initialize the dictionary as the following.

Regards,

Hi @Rajat_16 - You are using IDictionary but you are trying to use the object of Dictionary.
You need to follow the same approach what @Yoichi did.

Best!!
Anmol

How can i display key and value of dict in a output ?

Hi,

The following sample might help you.

img20191020-2

Regards,

1 Like

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