摘要: public static class ObjectExtension { public static T Convert<T>(this object target) { T result = default(T); if (target != null) { result = (T)System.Convert.ChangeType(target, typeof(T), CultureInfo.InvariantCulture); } ... 阅读全文
posted @ 2013-04-08 10:16 ゞ追忆o0ゞ 阅读(279) 评论(0) 推荐(0) 编辑