There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
I get that “number” and “lock” should be a decimal and “lock” should be changed or replaced, but when I exchange the data type to “decimal” or “double” I produce an error. How would these numbers be handled in C#?
I’m just seeing a bunch of gobbledygook in my console no text line with the errors that were shown in the reference tab any one else having this issue?
i cant seem to get past this lesson, everything seems good, not returning any errors, wrote lines to print to console and everything prints out as its entered, any ideas?
@chip4597530281 I had the same problem. Once I went hit back to go back to an older example and then came back to the lesson it allowed to go to the next problem
Just a suggestion, maybe this page should come before the “Creating variables with types”, as it will reassure new learners when they encounter errors, and also it mentions that a semicolon should be used to end each line.
Hi @wcroman, I am having the same issue as you described, in part 3 of this lesson as well as part 4. Did you ever find a resolution to the problem? Thanks!
It seemed to let me move on without actually fixing all the errors, but I wanted to do this exercise right. If you need a hint, just don’t forget your semicolons after each line.
Also, some of the names of variables don’t seem to work. I didn’t know what they wanted the names of the variables to be but I just changed them to something random and that worked.
And make sure you have the right data type attached to each one.
Hope that helps if you’re struggling like me, an absolute programming beginner!
first number is the line of the error and second number is the first character where the problem begins on that line (i.e. the 12th character of the line).