I have an observable collection and I'm trying to count the number of objects where "IsActive" = true. This looks like it should work, but I get an error saying "Count can't be used as a method". Anyone know how to do this?
int count = createAndDisplayViewModel.AvailableMonitorsForAddOC.Count(p => p.IsActive);