C
C#β€’3w ago
u5martzz

βœ… anyone up to help me with my .net c# assignment. I need urgent help or ima fail :(

ill pray to god for you if you do help me
36 Replies
Pobiega
Pobiegaβ€’3w ago
Noone can help since you have not given any info on the actual assignment. That said, be aware that we wont do it for you, but we can help you do it.
LocalLow
LocalLowβ€’3w ago
use AI
u5martzz
u5martzzOPβ€’3w ago
bruh they cant do gui i just need someone to hmu in dms and help me i just need a helping hand
Pobiega
Pobiegaβ€’3w ago
Why DMs? You can just do it right here
u5martzz
u5martzzOPβ€’3w ago
from a kind person
Pobiega
Pobiegaβ€’3w ago
In the thread you posted asking for help.
u5martzz
u5martzzOPβ€’3w ago
cuz dms are better
Pobiega
Pobiegaβ€’3w ago
in what way?
u5martzz
u5martzzOPβ€’3w ago
i dont need 3 people helping me when one person can just help me i just need someone who has good c# knowledge maynn and has a good heart to help me
Pobiega
Pobiegaβ€’3w ago
DMs restrict you to a single person helping, who might be wrong, and it also means any help they offer will only ever help you - noone else helping in public helps everyone
u5martzz
u5martzzOPβ€’3w ago
No description
u5martzz
u5martzzOPβ€’3w ago
what are these null references? I need to add it so that when they click enter without writing anything it doesnt let them pass and restarts the question again
Pobiega
Pobiegaβ€’3w ago
do you know how to write your own methods?
u5martzz
u5martzzOPβ€’3w ago
method for? im a beginner beginner im on the basics im trying my best to learn and improve
Pobiega
Pobiegaβ€’3w ago
like... public string GetText() { ... }
u5martzz
u5martzzOPβ€’3w ago
No description
Pobiega
Pobiegaβ€’3w ago
ok so its all imperative inside Main currently Thats... not ideal, but okay so the errors you have currently visible here are due to the fact that Console.ReadLine() returns a string? (a nullable string), not a string it can in theory return null
u5martzz
u5martzzOPβ€’3w ago
yeah
Pobiega
Pobiegaβ€’3w ago
since thats almost never a valid expected value, thats why I asked if you can write your own methods - you could easily make a SmartConsole.ReadLine() method that returns string, and makes sure the user didnt just press enter etc but if thats too advanced, we can skip that and just fix it locally instead
u5martzz
u5martzzOPβ€’3w ago
hmm it is as i got two days to complete this assignment and 2 more other assignments the other 2 are hard but i can get through it this is just hella complicated
Pobiega
Pobiegaβ€’3w ago
well, only because you are doing everything "in order" and not breaking it up into bite-sized chunks this is not really how you normally write programs πŸ™‚
u5martzz
u5martzzOPβ€’3w ago
hmm you are right damn it man i regret sm shit ok so another question @Pobiega how can I start on the gui
Pobiega
Pobiegaβ€’3w ago
hm? like, moving this away from a console app? into.. say winforms?
u5martzz
u5martzzOPβ€’3w ago
YES THAT
Pobiega
Pobiegaβ€’3w ago
Uh, you have to understand methods to do that
u5martzz
u5martzzOPβ€’3w ago
Can u send me a tutorial on joe to set it up how yeah ik ima just skip that
Pobiega
Pobiegaβ€’3w ago
I mean getting started is trivial, its just dotnet new winforms
u5martzz
u5martzzOPβ€’3w ago
bit or use help from ai ok
Pobiega
Pobiegaβ€’3w ago
actually, lemme make sure thats the right template name...
u5martzz
u5martzzOPβ€’3w ago
ok
Pobiega
Pobiegaβ€’3w ago
yup it is
u5martzz
u5martzzOPβ€’3w ago
ook i pasted that in my terminal
Pobiega
Pobiegaβ€’3w ago
I can show you the basics if you have a few minutes
u5martzz
u5martzzOPβ€’3w ago
yes please thanks so much for your help man
Pobiega
Pobiegaβ€’3w ago
#vc-3
jcotton42
jcotton42β€’3w ago
Not that offering actual compensation is allowed on this Discord, but you do realize that this is the help forum equivalent of when people β€œtip” with a church ad right?

Did you find this page helpful?