Created
May 31, 2021 15:05
-
-
Save ssukhpinder/78c9f9c7986b4b006a0d5eb48afcb1de 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
static void Main(string[] args) | |
{ | |
var sukhpinder = new Sukhpinder(); | |
var firstFan = new Follower(); | |
var secondFan = new Follower(); | |
sukhpinder.AddFollower(firstFan); | |
sukhpinder.AddFollower(secondFan); | |
sukhpinder.Post = "I love design patterns."; | |
Console.Read(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment