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

DefaultSettingValueAttribute

public sealed class DefaultSettingValueAttribute : Attribute
Indicates to the provider what default value to use for this setting when no stored value is found. The value should be encoded into a string and is interpreted based on the SerializeAs value for this setting. For example, if SerializeAs is Xml, the default value will be "stringified" Xml.
public string Value { get; }

Default value.

public DefaultSettingValueAttribute(string value)

Constructor takes the default value as string.