I have an string[] with some values. I would like to check the length of every string. Actually I just want to be sure that none of them got a length over 20 chars. Is there a fast way?
I have an string[] with some values. I would like to check the length
Share
You can use
Enumberable.Anymethod documented here to quickly check if there is an item exceeding 20 characters in your array.