Example #1
0
 /// <summary>
 /// 列表至少有一个元素
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="list"></param>
 /// <returns></returns>
 public static bool ok <T>(IEnumerable <T> list)
 {
     return(ListTool.HasElements(list));
 }