Users Pricing

forum

Home Forums How to catch all exceptions in c# using try and catch? – MindStick

How to catch all exceptions in c# using try and catch?

Anonymous User 2479 24 Sep 2013

I want to write some try and catch that catch any type or exception

try {

code....

}

catch (Exception ex){}

Or should it be

try {

code....

}

catch {}

?


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md