catch | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

catch

Is it possible to execute multiple catch blocks in c#?

12th Jul 2016, 5:33 AM
Manu
3 Answers
+ 2
yes. multiple catch blocks are allowed for one try block.
12th Jul 2016, 6:58 PM
Neha Jella
0
Yes. after try{} you may put any number of catch{} after it.
12th Jul 2016, 6:35 AM
Erwin Mesias
Erwin Mesias - avatar
0
yes
12th Jul 2016, 12:36 PM
Parvez Ahmad