I am developing an email validation and wanting to check if there has is more than 1 @ symbol in the email, how do i go on about implementing this?
static string Check(string email)
{
if (email.Contains("@") && email.Contains("."))
{
// check for 2 @ symbols or more will be here
return email;
}
return string.Empty;
}