The code inside a finally block will get executed regardless of whether or not there is an exception.
Exception handling in C#. In the below code
int x =3;
int x = 5 ;
In Try after throwing an Error which is caught in Catch ,After that Finall Block Executes with Assignment of x=3. and after that next line x=5 is also executed.Program not getting terminated..What might be the reason ?