using System;
using System.Resources;
public staticstring GetCsharpResource()
{
ResourceManager rm = newResourceManager(
"The namespace name in <<global ::System.Resources.ResourceManager>> in <<[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]>>",
Assembly.LoadFrom(@"C:\***\test.dll"));
String str = rm.GetString("var1");
return str;
}
Note: the assemble should have .resx file in its source project, you can store some 1 to 1 key and value in the resource file