I have a Windows App that takes a word and searches pdf files for that word. I'm being asked to expand those words into an alias that also looks for other keywords for that alias. So if a user is searching for "Toyota" the program knows to search also for "Camry", "Corolla", and "Prius".
I need to create an external file to my C# program that works as a list of aliases and keywords. The external file needs to be an .ini file. Nothing I can do about it being in an .ini file; that's what the client wants.
So, I need an .ini file that works something like this:
Toyota = Camry
Toyota = Corolla
Toyota = Prius
Then, when Toyota is type in a text box, the program uses the .ini file to know that it also needs to use Camry, Corolla, and Prius.
Can someone give me code that will be able to do this? Thank you.