Last active
November 1, 2020 15:26
-
-
Save Chibuikekenneth/609ead00caebd8ec3003462b17afd0cc 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
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