Check out example codes for "if string contains number c#". It will help you in understanding the concepts better.

Code Example 1

"abc3def".Any(c => char.IsDigit(c));

// Or to make it shorter:
"abc3def".Any(char.IsDigit);

Learn ReactJs, React Native from akashmittal.com