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

NameValueConfigurationElement

A configuration element that contains a String name and String value. This class cannot be inherited.
public string Name { get; }

Gets the name of the NameValueConfigurationElement object.

public string Value { get; set; }

Gets or sets the value of the NameValueConfigurationElement object.

public NameValueConfigurationElement(string name, string value)

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