Esempio n. 1
0
        static void Main(string[] args)
        {
            var meerkats = new List <Meerkat>
            {
                new Meerkat(),
                new Meerkat(),
            };

            var bestMeerkatPaperOfNews = new MeerkovoNews(meerkats);

            bestMeerkatPaperOfNews.PublishNewsItem("Sergei congratulates Corbyn on his win for glorious workers party of Great Britains");
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var meerkats = new List<Meerkat>
            {
                new Meerkat(),
                new Meerkat(),
            };

            var bestMeerkatPaperOfNews = new MeerkovoNews(meerkats);

            bestMeerkatPaperOfNews.PublishNewsItem("Sergei congratulates Corbyn on his win for glorious workers party of Great Britains");
        }