Beispiel #1
0
        static void Main(string[] args)
        {
            var post = new Post
            {
                Title       = "C# Classes Help",
                Description = "Confusion about when to use private and public",
            };

            post.AddDownVote();
            post.AddUpVote();
            post.AddUpVote();
            post.AddUpVote();
            post.ShowActualPost();
            Console.ReadLine();
        }