Given a linq expression of an object collection 'items' such as this:
var total = (from item in items select item.Value).Distinct().Count()
Is it possible to convert this to use linq functions/lambdas:
items.Select(???).Distinct().Count()
Use this:
items.Select(i => i.Value).Distinct().Count()