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