Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How can I fix this problem in C# Question tmpQuestion new Question(feedbackTextB

ID: 3905061 • Letter: H

Question

How can I fix this problem in C#

Question tmpQuestion new Question(feedbackTextBox.Text, correctanswerTextBox.Text, questionTextBox. Text); ? Question·Question0 (+ 1 overload) public Question() There is no argument given that corresponds to the required formal parameter 'feedBack of 'Question.Question(string, string, string, string, string) this s QuestionText show potential fixes (Ctrl+) this.QuestionNum this.AnswerChoices this.Correctchoice this.FeedBack " ? public Question (string questionText, string answerchoices, string correctChoice, string feedBack, string questionNum) this.QuestionText - questionText,; this .AnswerChoices = answerChoices; this.correctChoice-correctChoice; this.FeedBack feedBack; this.QuestionNum questionNum;

Explanation / Answer

You don't seem to have a Question constructor with 3 input string arguments. That's the reason for your error. To fix it, either call the constructor with 5 strings(since you have a constructor with 5 string arguments) or you create a new Question constructor which takes in 3 strings as arguments

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote