Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public bool Validate()
var isValidName = _name.Validate();
var isValidLastname = _lastname.Validate();
var isValidEmail = _email.Validate();
// Your logic here
return isValidName && isValidLastname && isValidEmail;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment