Пример #1
0
 private static Type InferType(IEnumerable stuff)
 {
     try {
         return(ReflectionUtils.CommonType(stuff.Cast <object>().Select(it => it.GetType())));
     }
     catch {
         return(typeof(object));
     }
 }