<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.0" />

System.Configuration.KeyValueConfigurationElement

Represents a configuration element that contains a key/value pair.
namespace System.Configuration { public class KeyValueConfigurationElement : ConfigurationElement { public string Key { get; } public string Value { get; set; } public KeyValueConfigurationElement(string key, string value); } }