예제 #1
0
파일: Program.cs 프로젝트: dgpriest/Local
        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();
            }
        }
예제 #2
0
파일: Program.cs 프로젝트: dgpriest/Local
        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();
            }
        }