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