摘要:
摘自: http://zhidao.baidu.com/question/319014406.htmlpublic class Cftea { public string SiteName { get; set; } public string Domain { get; set; } public string GetValue(string name) { return Convert.ToString(this.GetType().GetProperty(name).GetValue(this, null)); }}调用时:Cftea cftea = ... 阅读全文