Try/catch statements can now include an optional finally clause. The semantics are the same as they are in C# and other managed languages. The statements in the finally clause are executed when control leaves the try block, either normally or through an exception.
Example :
try
{
// ...
}
catch
{
// Executes when
any exception is thrown in the dynamic
// scope in the try
block.
}
finally
{
// Executed
irrespective of how the try block exits.
}
I liked your blog.Thanks for your interest in sharing your ideas.keep doing more.
ReplyDeleteMicrosoft Dynamics AX Online Training
Great article! The concepts are explained very clearly. This is really helpful for learners. Check out AI powered Core JAVA Online Training for more.
ReplyDelete