I’m designing a little code snippet with the following characteristics:
- I have an empty Dictionary created with a <String,String> pair
- I have an Excel file with two columns that I transform into a DataTable and by consequence, when I loop the DataTable I add the rows into the Dictionary created on step 1.
- Then I have an InputDialog where it is requested for me to write something that could be or not a Key from the Dictionary.
My goal is the following one: If the variable I sent to the InputDialog is equal to a value from the Dictionary, the correspondent Value should be given to me.
I’m stuck on extracting the value in the If condition: