c# - Get entry from list by name -


i have list of forms:

list<form> xxx = new list<form>();  

how can find out whether contains form identified name, like:

xxx.contains() 

try use findall function

list<form> xxx = new list<form>(); int count = xxx.findall(x => x.name.equals("yourformname")).count(); 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -