.NET: not common for KeyValuePair <string, string>?

I could swear there System.Collections.Genericwas a class that was effective KeyValuePair<string, string>.

In other words, it was an object with one of two members: a name or a key and a value, and both were entered as strings.

Does anyone know what I mean?

+3
source share
2 answers

Its properties are objects (not strings), but you are probably looking for a DictionaryEntry because it is the type of object returned when a StringDictionary is repeated .

+5
source

Source: https://habr.com/ru/post/1772768/


All Articles