SampleDictionary = New Dictionary(Of String, String) From { {“HUB Academy”, “RPA”}, {“UiPath”, “Certificate”} }
How do we to return the value “Certificate” from this dictionary?
To return the value “Certificate” from the dictionary, you would use the syntax of dictionary(key). So, SampleDictionary("UiPath") will give you the value “Certificate” because “UiPath” is the key that corresponds to that value in the dictionary.