Check if a string has at least one number in it using LINQ
c#, linq
Solution
"abc3def".Any(c => char.IsDigit(c));
Update: as @Cipher pointed out, it can actually be made even shorter:
"abc3def".Any(char.IsDigit);
Problem
I would like to know what the easiest and shortest LINQ query is to return true if a string contains any number character in it.