Question: Keep getting two errors? How Do I fix my cocde? Visual Studio C# Exspected CS1002 Expected CS 1513 using System; namespace Quiz { class MainClass

Keep getting two errors?

How Do I fix my cocde?

Visual Studio C#

Exspected CS1002

Expected CS 1513

using System;

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

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

//Questions //declaring questions array var[] Question = new var[10]; Question[1] = "1. How many trees in a forest?"; Question[2] = "2. Sample Question"; Question[3] = "3. Sample Question"; Question[4] = "4. Sample Question"; Question[5] = "5. Sample Question"; Question[6]= "6. Sample Question"; Question[7] = "7. Sample Question"; Question[8] = "8. Sample Question"; Question[9] = "9. Sample Question"; Question[10] = "10. Sample Question";

//for option //declaring options 2d array var[] options= new var[10,4]{ {"3","4","5","6"},//for question1 {"3","4","5","6"},//for question2 {"3","4","5","6"},//for question3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!