Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Last active February 17, 2019 18:16
Show Gist options
  • Save dsibinski/1c6e54a566eb9854cd18f7a535fb116b to your computer and use it in GitHub Desktop.
Save dsibinski/1c6e54a566eb9854cd18f7a535fb116b to your computer and use it in GitHub Desktop.
interface IDeveloper
{
void LearnNewLanguage(string language, DateTime dueDate);
void LearnNewLanguage(string language)
{
// default implementation
LearnNewLanguage(language, DateTime.Now.AddMonths(6));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment