Keep your videos coming I rly like your straight up style. Some a bit more advanced, worldly applicable projects similar to the todo list would be phenomenal. Good luck
Its very easy (it happened to me) to get hidden chars in the questions text file. This will cause issues to the questions count and cause it to loop round again when it should not.
You'd need to add a new line to the questions.txt. So the new structure would be Line 0 = question Line 1 = answer 1 Line 2 = answer 2 Line 3 = answer 3 Line 4 = correct answer comment Line 5 = question and so on ... Then when in the first for loop replace 4, with 5 instead. You'll also need to create a list to store the answer comments and add the comments from the text file to the list if it is divisible by 4. Then when printing out whether the user got the answer correct or wrong, if they were correct print out correctAnswerList[questionsIndex]. Let me know if this works and if you need any more help :)
Thank you for all your help. it is great teaching
Your videos are always perfect for beginners ❤
❤❤
Keep up the good work❤❤
Keep your videos coming I rly like your straight up style.
Some a bit more advanced, worldly applicable projects similar to the todo list would be phenomenal.
Good luck
❤
nice
Its very easy (it happened to me) to get hidden chars in the questions text file. This will cause issues to the questions count and cause it to loop round again when it should not.
How do you get the ide to predict or generate the code or whatever you’re trying to type? Is that a for of plugin?
No plugin, it just comes built in with Visual Studio 2022!
I need help, do not recognize or do not know why the text file gives me error I did everything just like 2 times and it does not work
nice but how could i choose a different comment when the answer is right for each question ?
You'd need to add a new line to the questions.txt. So the new structure would be
Line 0 = question
Line 1 = answer 1
Line 2 = answer 2
Line 3 = answer 3
Line 4 = correct answer comment
Line 5 = question and so on ...
Then when in the first for loop replace 4, with 5 instead. You'll also need to create a list to store the answer comments and add the comments from the text file to the list if it is divisible by 4. Then when printing out whether the user got the answer correct or wrong, if they were correct print out correctAnswerList[questionsIndex].
Let me know if this works and if you need any more help :)
how to do it in the mac version of visual studio
The code content should be the same. When creating a new project select C# console app, then under framework select .net 6.0 (long-term support).
✔️ P r o m o S M