Answer:
a) DebugTwelve1.cs
Code:
namespace FixedDebugTwelve1
{
//add code from textbook
// .
// .
// .
redLabel.Color = Red;
blueLabel.Color = BlueViolet;
greenLabel.Color = Green;
label.Visible = false;
}
Explanation:
Error1:
The correct statement is as follows:
redLabel.BackColor = System.Drawing.Color.Red;
blueLabel.BackColor = System.Drawing.Color.BlueViolet;
greenLabel.BackColor = System.Drawing.Color.Green;
Error2:
It is a logical error, label4 should chenge visibility when button1 is clicked.
The correct statement is as follows:
label4.Visible = true;
See attachment for the remaining 3 projects