How I can get file path from app.setting to my class. For example, I hard codded the file path on my class like
var x= $"{Environment.GetFolderPath(Environment.SpecialFolder.Desktop)}\mydoc.docx";
But I want to get it from app.setting like
"PluginSettings": { "mypath": ["path to my desktop"
], "mytemplate": ["path to my desktop"] },
so I want my class get the mypath anmytemplate from app.setting. any help