<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0-preview.1.21102.12" />

KeyValueConfigurationElement

Represents a configuration element that contains a key/value pair.
public string Key { get; }

Gets the key of the KeyValueConfigurationElement object.

public string Value { get; set; }

Gets or sets the value of the KeyValueConfigurationElement object.

public KeyValueConfigurationElement(string key, string value)

Initializes a new instance of the KeyValueConfigurationElement class based on the supplied parameters.