private static void IntSetter(object instance, FieldInfo field, string val) { field.SetValue(instance, int.Parse(val)); }