1.

What's The C# Syntax To Catch Any Possible Exception?

Answer»

A catch BLOCK that catches the exception of type System.Exception. You can ALSO OMIT the PARAMETER data type in this case and just write catch {}.

A catch block that catches the exception of type System.Exception. You can also omit the parameter data type in this case and just write catch {}.



Discussion

No Comment Found