Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var emily = new Tweeter();

            var worshiperOfAllThingsEmily         = new Follower(emily);
            var iWantToBeJustLikeEmilyWhenIGrowUp = new Follower(emily);
            var ardentFollowerOfEmily             = new Follower(emily);

            emily.Tweet = new Tweet
            {
                Author          = "Emily",
                PublicationTime = DateTime.Now,
                Text            = "Words of great wisdom"
            };

            Console.ReadLine();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var emily = new Tweeter();

            var worshiperOfAllThingsEmily = new Follower(emily);
            var iWantToBeJustLikeEmilyWhenIGrowUp = new Follower(emily);
            var ardentFollowerOfEmily = new Follower(emily);

            emily.Tweet = new Tweet
            {
                Author = "Emily",
                PublicationTime = DateTime.Now,
                Text = "Words of great wisdom"
            };

            Console.ReadLine();
        }