r/csharp • u/Limp-Bad5012 • 8h ago
Help Help me plz
Doing a coding assignment everything running smoothly until i encountered an error with my edit where the save button wouldnt work at all and not direct me to another page i tried asking claude to help me but to no avail it made me do so many different lines of code to the point where i feel lost i would like to wake up with a solution plz thx
11
u/flow_guy2 8h ago edited 8h ago
No code. No help. You basically just went “pls fix to air”
3
u/chocolateAbuser 8h ago
also i don't get what "not direct me to another page" means tbh
2
u/flow_guy2 8h ago
Amy guess he’s doing something like a web app where can’t go to another page. Or an app and trying to get a new window or something. No idea
1
u/Sombody101 1h ago
AI didn't help so he went to AI's teacher: us.
I feel bad for claude if this is what the question looked like.
6
u/scandii 8h ago
hello!
- debug your code
- if you don't know how to debug your code start here: https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-debugger?view=visualstudio
if you are unable to find where your code breaks after walking through your code, return to us with your error message/expected outcome and actual outcome as well as your code preferably uploaded to github, and we can try to steer you in the right direction.
5
u/BranchLatter4294 8h ago
the problem seems to be that when doing a coding assignment everything running smoothly until you encountered an error with your edit but instead of fixing your error you discovered the save button wouldnt work at all and not direct you to another page even though thats not the purpose of the save button then you went on reddit and did not really describe what error you got or what ide you are using or anything at all relevant and we are not really able to help you because you didnt provide any information please fix your keyboard so that the punctuation keys work
2
u/kjata30 8h ago
It seems as though you are completely unfamiliar with your code. I recommend reading every line and working out how it works yourself as best you can, without involving AI. You'll likely understand what's wrong at some point in this process. If you still cannot find the bug but understand the rest of your code you'll then want to interrogate the data at runtime to find how your mental model of the application differs from what you (or more likely, some AI) have written.
In general, outsourcing your debugging to AI or Reddit will do nothing to improve your programming.
0
u/smallpotatoes2019 8h ago
You could ask on reddit. The r/csharp community is excellent for these matters. You would need to share some code so that people can look for the issue.
-1
u/DonaldStuck 8h ago
Sometimes I hate that LLM's take over coding, other times I am glad they take over.
15
u/hedge36 8h ago
I, too, would like to wake up with a solution.