Created
July 9, 2017 09:03
-
-
Save robinvanderknaap/43ca26c72c1c667ba5bc3f8b884bd576 to your computer and use it in GitHub Desktop.
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
class CompositeClass | |
{ | |
private BaseClass baseClass; | |
public CompositeClass() | |
{ | |
baseClass = new BaseClass(); | |
} | |
public void DoSomeWork() | |
{ | |
baseClass.DoSomeWork(); | |
// Add extra code here.. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment