.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

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -