score:2

Accepted answer

I cannot find any documentation for the version 15.1.7 but i assume that IEnumerable is returned and therefore you first have to use Cast<T>() or OfType<T> to get an IEnumerable<T> (see https://stackoverflow.com/a/7757411/3936440).

So i think you need to write

bool a = bar.ItemLinks.Cast<BarItemLink>().Any(x => x.Item.Tag.Equals(tag))


Related Articles