摘要:
Type type = typeof(类名); System.Reflection.PropertyInfo[] myPropertyInfo; myPropertyInfo = type.GetProperties(); for (int i =0; i < myPropertyInfo.Length; i++) { Amount amount= (Amount)myPropertyInfo[i].GetValue(Statictis, null); amount.CDF= Math.Round(amount.CDF, 2); myPropertyInfo[i].SetValue(St 阅读全文