110,534
社区成员
发帖
与我相关
我的任务
分享
IList<object> objects;
IList<menu> ml;
objects = IService.GetAll("SelectAllmenu");
foreach (object o in objects)
{
ml.Add((menu)o);
}
public static IEnumerable<TA> GetTA<TA>(IEnumerable<object> array)
{
foreach (TA x in array)
yield return x;
}
using System.Linq;