0.3.5 How to Resolve Feedback System C# Code Errors

Value Errors

If you an encounter an error where a value has been incorrectly assigned it will look like the image below. In this example, a bool and a string value are assigned incorrectly.

The number and letter before the message corresponds to the Check Your Work step in the assignment where that value is checked.

In the object diagram for the step we can see that the IsPregnant field should indeed be 'true' not 'false' and that the Type should indeed be 'Dingo' not 'Animal'.


So now we open out code up and make the appropriate changes. Below is the incorrect code. We can see that Type is assigned incorrectly and also that the IsPregnant field is never assigned to (defaulting to false).

Let's make the appropriate changes.

Note: At this point is is helpful to always build your code to ensure no other errors exist or have been created.

Now that the issue is solved it is ready to be resubmitted.


First, delete the old zip file that was submitted previously. Then, re-zip the folder containing the project and .sln.


Finally, upload the new zip just as you did the first time and the issues will no longer be there.

Structure Errors

Coming Soon...

Critical Errors

Coming Soon...