DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
if string contains number c#
"abc3def".Any(c => char.IsDigit(c)); // Or to make it shorter: "abc3def".Any(char.IsDigit);
PREVIOUS
NEXT
Tagged:
#string
#number
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit