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(); }
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(); }