Hi,
I have a lot of txt files in Resources folder. One of them is corner.txt. I can access this file via this code snippet:
Properties.Resources.corner
I keep file names in string variables. For example:
string fileName = "corner.txt";
I want to access this file via:
Properties.Resources.fileName
Is this possible? How can I access?
Get Resources with string
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jul 24, 2013, 1:57 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 24, 2013, 3:31 AM EDT
Please provide more details: You want to access file name using resource key?
Regards,
Iftikar
Salih Teamsah6 reputationPosted Jul 24, 2013, 5:02 AM EDT