C# (try-catch) - SEEMINGLY CONTRADICTING QUESTIONS!... 🤔 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 19


https://www.sololearn.com/post/736049/?ref=app The two questions in the link above seem to contradict each other. What is your best explanation for why these are valid questions?

5th Nov 2020, 5:17 PM
👑 Tchybooxuur!
👑 Tchybooxuur! - avatar
4 Answers
+ 16
It's a trick question. Read the questions again with focus on the words "used" and "executed"...
5th Nov 2020, 5:30 PM
👑 Tchybooxuur!
👑 Tchybooxuur! - avatar
+ 14
Tchy, the second one asks if it is poasible to execute several catches at one time (like in a queue), it is not possible. Only one of the defined catch blocks will be exexuted a time. But you can define as many as you need catch blocks for a single try.
5th Nov 2020, 5:43 PM
Vladimir (temporary inactive)
Vladimir (temporary inactive) - avatar
+ 13
Vladimir That's true. 🤦🏽‍♂️... Funny how it got me.
5th Nov 2020, 5:53 PM
👑 Tchybooxuur!
👑 Tchybooxuur! - avatar
+ 3
Please read the questions again with focusing on the words "used" and "executed" or contact me on sololearn
7th Nov 2020, 12:54 PM
AP Gaming
AP Gaming - avatar