I have two sets of data I have in my C# config file that are related to each other. So for example.
Config:
- <add key="shownames" value="Show 1 Name,Show 2 Name"/>
- <add key="showurls" value="https://URL1,https://URL2"/>
- string[] ShowNames = ConfigurationManager.AppSettings["shownames"].Split(',').Select(s => s.Trim()).ToArray();
- string[] ShowUrls = ConfigurationManager.AppSettings["showurls"].Split(',').Select(s => s.Trim()).ToArray();
- foreach (string shownames in ShowNames)
- searchListRequest.ChannelId = shownames;
Thanks.
JR
Sachin SinghPosted Nov 10, 2020, 9:47 AM
Sachin SinghPosted Nov 10, 2020, 9:54 AM
John RikerPosted Nov 10, 2020, 9:52 AM