Dim remainingItemsCount As Integer = qatItems.Count(Function(qat) qat.Owner = Nothing)
int remainingItemsCount = qatItems.Count(qat=>qat.Owner==null);
int remainingItemsCount = qatItems.Where(x=>x.Owner == null).Count();
Dim remainingItemsCount As Integer = qatItems.Where(Function(x) x.Owner Is Nothing).Count()
Dim remainingItemsCount As Integer = qatItems.Count(Function(qat) qat.Owner Is Nothing)
Where
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)