Creating a simple C# console application that completes the stated task: Trivia Game – Part 1 - ListsWrite a program that plays a simple trivia game on atopic on your choice. The game will read...

Creating a simple C# console application that completes the stated task:
Trivia Game – Part 1 - ListsWrite a program that plays a simple trivia game on atopic on your choice. The game will read questions from a CSV file. Each question has a correspondinganswer and point value between 1 and 3 (based on the difficulty of the question). Implement the gameusing three lists. A list of type string should be used for the questions. Another list of type string should beused to store the answers. A list of type int should be used for the point values.The index into the three lists can be used to tie the question, answer, and point value together. Forexample, the item at index 0 for each list would correspond to question 1, answer 1, and the point valuefor question 1. The item at index 1 for each list would correspond to question 2, answer 2, and the pointvalue for question 2, and so forth. Manually create at least ten questions, answers, and point values andstore it in a CSV file. When the program starts, read the questions from the CSV text file into yourprogram.Your program should ask the player each question one at a time and allow the player to enter an answer.The answer should not be case-sensitive. If the player’s answer matches the actual answer, the playerwins the number of points for that question. If the player’s answer is incorrect, the player wins no pointfor the question. Your program should show the correct answer if the player is incorrect. After the playerhas answered all questions, the game is over, and your program should display the player’s total score.Trivia Game – Part 2 – Data ClassWrite a program that is a modification of the TriviaGame in Part 1 to use a single list instead of three lists. This can be accomplished by creating a Triviaobject that encapsulates the question, answer, and the point value for a particular trivia question.Next, create a single list of Trivia objects (instead of three separate lists for the question, answer, andpoint values). This change will make your program more scalable if there were ever additional propertiesto add to a Trivia object (you would not need to add another list for each property). Although the programhas internally changed to a single list of objects, the execution of the program should be identical tobefore.
I don't need help with the questions or point values, simply how to write to a CSV file and read a CSV file into a list. As well, how to correlate those lists in relation to each other.
PLEASE HELP! Thank you
*no referencing needed*
Apr 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here