0

Is it ok to ask / search for solutions from other people ?

So i just finished the C# Course yesterday. I' ve read that it is recommended or a good way to manifest ones programming foundations in a simple code project and i have a great Idea for my own. I started to plan out the structure of the program and had a good start for the first 2 steps of my project but now i'm stuck on a part and i'm caught up in this endless loop of trying to troubleshoot it on my own. So i'm wondering if it i should try to figure it out on my own or if it is ok to ask other people for advice ? My programm is very easy and i guess i'm just a few steps away from connecting the things i've learned to this coding project. I guess i have to grow more confident in programming.. Thank you for all your answers in advance. sorry for my bad english grammar or typos.

10th Nov 2021, 12:12 PM
Jascha Ihring
Jascha Ihring - avatar
5 Respuestas
+ 1
Yeah , it is okay. Don't hesitate to ask for help
10th Nov 2021, 12:14 PM
Jasy Fabiano
Jasy Fabiano - avatar
0
thank you for the quick reply !
10th Nov 2021, 12:17 PM
Jascha Ihring
Jascha Ihring - avatar
0
so this is the project: https://code.sololearn.com/cZbDQFu2WPAI/#cs i don't know how i should implement the meals to check the ingredients from. i store the ingredients in a list but should i make a class or a list or a dictionary for the meals that i need to check the values of the ingredients list against in order to output them ?
10th Nov 2021, 12:23 PM
Jascha Ihring
Jascha Ihring - avatar
0
Jascha Ihring there is no need for dictionary to store the meals, you can use list to store both meals and ingredients. To check if an ingredient is present in the list use the Contains() method.
10th Nov 2021, 1:19 PM
Arun Ruban SJ
Arun Ruban SJ - avatar
0
thank you Arun Ruban SJ i have restartet the project and came up with a solution. here is the link to the new project: https://code.sololearn.com/cB2GmBVqvnze/#cs
10th Nov 2021, 6:19 PM
Jascha Ihring
Jascha Ihring - avatar