Created
November 10, 2022 00:34
-
-
Save hsynkrcf/7314a3f64696680ebbec630311a2bab7 to your computer and use it in GitHub Desktop.
YES OCP
This file contains 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
public class PhoneFactory | |
{ | |
public void MakePhone(Phone phone) | |
{ | |
phone.Make(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment