Category: C# Sharp

0

C# Sharp IsValidEmail(email)

bool IsValidEmail(string email) { try { var addr = new System.Net.Mail.MailAddress(email); return true; } catch { return false; } }