... public static class Viewer { ...variables etc... //construct static Viewer() { ... } //NEED HELP HERE private static void setProperty(string pProperty, string pValue) { PropertyInfo prop = typeof(Viewer).GetProperty(pProperty); prop.SetValue(null, pValue, null); } }