Exemple #1
0
        static void Main(string[] args)
        {
            var post = new Post();
            var voting = new Voting();

            //Create and store header
            post.GetHeader();
            post.DisplayHeader();

            //Up-Vote or Down-Vote
            while(true)
            {
                voting.UpDown();

                voting.DisplayVotes();
                voting.KeepGoing();
            }
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var post   = new Post();
            var voting = new Voting();

            //Create and store header
            post.GetHeader();
            post.DisplayHeader();


            //Up-Vote or Down-Vote
            while (true)
            {
                voting.UpDown();

                voting.DisplayVotes();
                voting.KeepGoing();
            }
        }