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

System.Configuration.AppSettingsReader

public class AppSettingsReader
Provides a method for reading values of a particular type from the configuration.
namespace System.Configuration { public class AppSettingsReader { public AppSettingsReader(); public object GetValue(string key, Type type); } }