Quantcast
Viewing latest article 5
Browse Latest Browse All 6

Answer by Vlad for Getting a string dynamically from strings resources

ResourceManager.GetString should do.

Stripped down example from MSDN:

ResourceManager rm = new ResourceManager("RootResourceName",
                                         typeof(SomeClass).Assembly);
string someString = rm.GetString("someString");

Viewing latest article 5
Browse Latest Browse All 6

Trending Articles