i broke my c sharp win form by re pasting whole code then broke so tried to go back now its saying e
plz help now
17 Replies
what do you mean by "broke"? is there an exception being thrown, or is the code you wrote not behaving as you expected? if it's the former please share us the exception message
like idk how to explain i am new i tried to get chat gpt to add something on for me but then when i pasted that it it like rejected the code and now on my forms it shows like white screens with erroes
errors
can you share the $code? and what kind of errors are you getting, can you also share that
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
For longer snippets, use: https://paste.mod.gg/we can't help you without knowing what the error is or what the code you wrote is
i can ss in a call if thaty would help
I wish I could join but sorry I can't
ok well i cant rlly paste it ik thats not much help is there a way of saving everything i have rn then i might close it w out saving bc i think my old version will work but i wanna save a copy of this one just in case
I believe you can just close Visual Studio by clicking the close button and it will automatically save the solution and all files, you can also just to file and click save if you want to be extra sure
i dont want to save the current version i just wanna save a copy of it bc then if i reopen it it might re open an old version
bit when i save as i have to to each one seprate cus i got a load of different forms open?
I'm not sure if I understood what you mean
you're probably not using a VCS, so I guess the best option is to copy the whole folder, and then manually track down the changes you made and revert them.
how do i do that cus when i use the back arrow it dont go back far enough
you can right click on the solution item in the solution explorer and click on open in explorer
i am tryna get a photo
pf what i mean
its copmpletely floped
this aint good for me
a screenshot would help
we might be safe
cus when i run it it works
but when i go onto the form tab that is there
with then means i can edit that form anymore