Skip to content

Instantly share code, notes, and snippets.

@ssukhpinder
Created May 31, 2021 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssukhpinder/78c9f9c7986b4b006a0d5eb48afcb1de to your computer and use it in GitHub Desktop.
Save ssukhpinder/78c9f9c7986b4b006a0d5eb48afcb1de to your computer and use it in GitHub Desktop.
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