string testPropertyName = "MainFormText";
Properties.Settings setting = Properties.Settings.Default;
Type type = setting.GetType();
PropertyInfo propertyInfo = type.GetProperty(testPropertyName);
string value = (string)propertyInfo.GetValue(setting, null);