Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Account Creator Used in Main Method For Medium
public class Program{
public static void Main(string[] args){
AccountCreator accountCreator = new AccountCreator(new DatabaseAccountChecker());
var accountInfo = GetAccountInfoFromSomewhere();
var result = accountCreator.TryCreateAccount(accountInfo);
Console.WriteLine("Account Creation was succesfull? " + result);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.