📌  相关文章
📜  c# cvalidate email - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:09.485000             🧑  作者: Mango

代码示例1
bool IsValidEmail(string email)
{
    try {
        var addr = new System.Net.Mail.MailAddress(email);
        return addr.Address == email;
    }
    catch {
        return false;
    }
}