C#: Accessing elements in MultiValueDictionary without loop

49 Views Asked by At

I'm using MultiValueDictionary from Microsoft.Experimental.Collections by this way:

MultiValueDictionary<string, string> multiValueDictionary = new MultiValueDictionary<string, string>();

multiValueDictionary.Add("Device A", "My Device");
multiValueDictionary.Add("Device A", "/dev/sda");
multiValueDictionary.Add("Device A", "123456789");

How can I retrieve(directly) the elements/values without using any loop?

0

There are 0 best solutions below