Example #1
0
        static void Main(string[] args)
        {
            Fan fan = new Fan();

            GClooney firstGClooney  = new GClooney("I love your songs");
            TSwift   secondGClooney = new TSwift("My wife loves your songs");


            firstGClooney.AddFollower(fan);
            secondGClooney.AddFollower(fan);

            firstGClooney.Tweet  = "I love your songs very much!!!";
            secondGClooney.Tweet = "My wife and I love your songs";
        }
Example #2
0
        static void Main(string[] args)
        {
            var gClooney = new GClooney("I Love MY New Wife.");
            var tSwift   = new TSwift("I started a joke is my favorite number.");

            var firstFan  = new Fan();
            var secondFan = new Fan();

            gClooney.AddFollower(firstFan);
            tSwift.AddFollower(secondFan);

            gClooney.Tweet = "I Love Joker";
            tSwift.Tweet   = "I am looser";

            Console.ReadLine();
        }
Example #3
0
        static void Main(string[] args)
        {
            var gClooney = new GClooney("I love my new wife");
            var tSwift   = new TSwift("1981 is now my favorite number");

            var firstFan  = new Fan();
            var secondFan = new Fan();

            gClooney.AddFollower(firstFan);
            tSwift.AddFollower(secondFan);

            gClooney.Tweet = "My new wife didn't force me to tweet. ";
            gClooney.Tweet = "I love my new music";

            Console.Read();
        }