Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Chibuikekenneth
Last active November 1, 2020 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Chibuikekenneth/609ead00caebd8ec3003462b17afd0cc to your computer and use it in GitHub Desktop.
Save Chibuikekenneth/609ead00caebd8ec3003462b17afd0cc to your computer and use it in GitHub Desktop.
var schoolInstance = new School();
var oxford = new OxfordUniversity();
//Inject dependency as method parameter
schoolInstance.AttendClass("Kenneth", oxford);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment