public bool Match(MonitoringDemo.Item candidate) { return(candidate.name[0] == 'q'); }
public bool Match(MonitoringDemo.Item candidate) { return(candidate.name.Equals("name1")); }