Created
September 24, 2020 09:04
-
-
Save mgjam/0204b0357965a88da4439c562b54871c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ValidEmail | |
{ | |
string Email; | |
} | |
class EmailValidator | |
{ | |
ValidEmail? IsEmailValid(string email); | |
} | |
class EmailProcessor | |
{ | |
void ProcessEmail(ValidEmail validEmail); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment