How to dict value based on particular key

hi
I have a list of collection
how to fetch collectionObject.getValue(0)
send crrrct synatx

hi @KarthikBallary

Use add to dictionary

and pass the list of collection to dictionary

give the key value pairs accordingly

use argdicConfig(“ColumnName”).ToString

Thanks
Ashwin S

TELL BASED ON KEY

Hi @KarthikBallary

Iam not getting you what do you mean by key ?

if you have an excel pass the row(“Column Name”).ToString and value row(“ColumnName”).toString

Thanks
Ashwin S

Thanks
Ashwin S

if its a List of collection
then we can directly mention with the index position of the element in the List variable like this
list_input = {“one”,“two”,“three”}
then
to get the second value mention like list_input(1).ToString
where 1 is the index position of the second element and usually it starts from 0 for the first element in the list

hope this would help you
Cheers @KarthikBallary

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