I previously had code that used File.ReadAllLines()
to read a text file and store each line into a string array.
However I have decided that the text file would be better stored in a ResX file.
I have added the text file to the ResX file. I know I could use 'resourceManager.GetString' to read the text file but this does not allow me to populate a string array with each line in the text file. How can this be done?
(One thing I tried was was changing the access modifier for the services file to 'public', and then trying to access the contents of the text file but for some reason the auto-generated file failed to build...)