string email = "raja@test.com";
if ( EmailValidator.IsValid(email) ) {
}
if ( EmailValidator.IsValid(email) ) {
}
There is another way to validate email string.
string email = "raja@test.com";
if ( email.IsValidEmailAddress() ) {
}
if ( email.IsValidEmailAddress() ) {
}
No comments:
Post a Comment