–2 votes

Regarding your response:

https://www.limilabs.com/qa/1645/validation-of-an-email-address?show=1645#q1645

You can check several things with AddressValidator:
1.
Does email address have a valid format:
AddressValidator validator = new AddressValidator();
Assert.AreEqual(
AddressValidationResult.Success,
validator.ValidateFormat("email@example.com"));

I have using Limilabs.Mail.Tools; but receive this error:

'Assert' is inaccessible due to its protection level

Am I missing something?

Cheers...

by

1 Answer

0 votes

Assert class is from nunit framework.

by (301k points)
...