Question: please fix the errors in the following code Type out the codes in a code runner for indentations please specify where can the codes be


please fix the errors in the following code Type out the codes in a code runner for indentations please specify where can the codes be added
3 private void button2_click(object sender, EventArgs e) if (textBox2. Text == word) ; { word = textBox2. Text. Tolower(). ToCharArray()[0]; \{ MessageBox. Show("You Won!", "Well Done!"); ResetGame(); else \{ MessageBox.Show("Incorrect Guess!", "Sorry"); DrawBodyPart ((BodyParts)amount); amount+1; if ( amount ==9) i MessageBox. Show("You Lost! The word was" + word); ResetGame(); 1. reference private void button3_Click(object sender, EventArgs e)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
