.net - javascript [].some() in c# -


does equivalent of javascript array.some() function exist in c#?

yes there is: any

var foo = new object[10]; var = foo.any(x => x != null); 

Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -