I have a library with several text files as embedded resources like the following photo:
by running following line we have a string with the content of text file
Properties.Resources.CanadianCities
we need to know the name of the embedded resource ( CanadianCities
).
so, in future, I added a new text file to embedded resource and I update my packages (UKCitites.txt). I want a dictionary in my DLL to cache the value of all text files (the text files are embedded resources). So, I do need the dictionary dynamically fetch the new embedded file.
Key
: embedded file nameValue
: the content of file