DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# check if string is only letters and numbers
if (textVar.All(c => Char.IsLetterOrDigit(c))) { // String contains only letters & numbers }
PREVIOUS
NEXT
Tagged:
#check
#string
#letters
#numbers
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit