Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Aggregation with inheritance
public class Account{
private ILogin _loginInfo;
private IProfile _profileInfo;
public Account(IProfile profileInfo, ILogin loginInfo){
_loginInfo = loginInfo;
_profileInfo = profileInfo;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.