How to initialize variable

Hi,

Can anyone please assist me that how can I initialize variable in “IEnumerable<KeyVal
uePair<String,Byte [ ] >>” data type.

Thanks in advance!

Regards,
Harsha

Hi,

Do you use VB? If so, can you try the following?

yourVariable = New List(Of KeyValuePair(Of String, byte()))

Regards,

2 Likes

Hi @Yoichi ,

Actually I created the variable for above mentioned data type but i got struck with how to define value inside that variable. Kindly assist me on this.

Hey,
you can use invoke method:
image
image

Hi,

Can you try the following steps?

yourVariable = New List(Of KeyValuePair(Of String, byte()))
kv = new KeyValuePair(Of String,byte())("someKey",{1,2,3})
yourVariable = yourVariable.Concat({kv})

Regards,

1 Like