Check White Space in textbox (C#) -


how check white space in textbox?. want take username input, there shouldn't white space. how check returning true false?

try this:

bool iswhitespace = txtbox.text.any(char.iswhitespace); 

this question resolved here


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -