C# try catch finally - c# - c# tutorial - c# net
What is the use of try-catch-finaly statement in C# ?
- C# finally block is used to execute important code which is to be executed whether exception is handled or not. It must be preceded by catch or try block.
Try Catch Finally Exception
C# finally example if exception is handled
C# examples - Output :
Exception Handling