i need a code for mail id shoud contain atleast 6 chareters and user id should not contain number values, and no empty spaces. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Why does the C# compiler allow an explicit cast between IEnumerable and TAlmostAnything? How do I reference the input of an HTML