Esempio n. 1
0
        static void Main(string[] args)
        {
            var post = new Post
            {
                Title       = "Post title",
                Description = "Body of post..."
            };

            post.UpVote();
            post.UpVote();
            post.UpVote();
            post.UpVote();

            post.DownVote();
            post.DownVote();

            post.PostInfo();
        }