private static string GetNameValue(object value) { dynamic obj = value; try { return obj.Name; } catch { return null; } }
private static string GetNameValue(object value) { dynamic obj = value; try { return obj.Name; } catch { return null; } }
转载于:https://www.cnblogs.com/shiningrise/p/6147173.html