C
C#3y ago
frknztrk

C try catch not working why ? [Answered]

I try-catch to a place where there may be an error, but the program still crashes
7 Replies
Buddy
Buddy3y ago
Please just check if itemlist is null, no need to use try catch Avoid it at any cost!
frknztrk
frknztrkOP3y ago
My problem isn't whether it's empty or not, why try catch couldn't catch it, I created the error here on purpose.
TheRanger
TheRanger3y ago
Program doesnt crash its just the IDE pausing there u can click resume to continue
phaseshift
phaseshift3y ago
also exceptions arent crashes
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
frknztrk
frknztrkOP3y ago
thanks
Accord
Accord3y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server