var query = rep.GetIp() // in this line i have the error
.Where(x => x.CITY == CITY)
.GroupBy(y => o.Fam)
.Select(z => new IpDTO
{
IId = z.Key.Id,
IP = z.Select(x => x.IP).Distinct()
})
.ToList().ForEach(IpObj => IpObj.IP.ToList().ForEach(ip => PAINTIP(ip)));
在我管理该法典时,我有错误:
不能将真空划给一种隐含的当地变量
I googled and found that it is a type issue because foreach
is not a LINQ function? I cannot understand where the void
is!