Exemplo n.º 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();
            }
        }
Exemplo n.º 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();
            }
        }