1. Engineering
  2. Computer Science
  3. c sharp for visual studio need expert help to use...

Question: c sharp for visual studio need expert help to use...

Question details

C# Sharp for Visual Studio

Need Expert help -to use Video studio to write a Quiz.

The quiz is multiple choice with 10 questions.

I need a source code to start and I can copy and paste my questions.

EX:

using System;

namespace Quiz
    class MainClass
    {
        public static void Main(string[] args)
        {

        Console.WriteLine("Welcome to the Quiz!");
            Console.WriteLine("");


                // Declare variables implicitly and explicitly
            var Question 1= "How many trees in a forest?");

               var Answer1a = "3"
                   var Answer1b ="5"
                 var Answer1c ="2"
                var Answer1d ="4"
                var Answer1Solution = "a";
            char Answer1 User;
            // Write variables to the console using formats
            Console.WriteLine(Question1);
            Console.WriteLine("a) {0} b) {1} c) {2} d) {3}", Answer1a, Answer1b, Answer1c, Answer1d);
            Console.WriteLine("Select a, b, c, or d");

Then code for the quiz taker to see his response for question 1; then move to question two, three, four --ten...

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution