C++开发博客CSDN
摘要: 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 阅读全文
posted @ 2013-01-11 11:27 纳凉亭子 阅读(255) 评论(0) 推荐(0) 编辑