Hello
I want to read all the strings from a resx file and load it into an array without looping. I'm working in an asp.net web application and i'm using C#. How can i get the strings?
Thank you
NLV
Hello
I want to read all the strings from a resx file and load it into an array without looping. I'm working in an asp.net web application and i'm using C#. How can i get the strings?
Thank you
NLV
string[] AllStrings;
using (var Reader = new ResXResourceReader(fileName))
{
AllStrings = Reader.Cast<DictionaryEntry>().Select(o => o.Value).OfType<string>().ToArray();
}