.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

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -