I wonder how the try, catch, finally function works.
I know how try and catch works.

What I wonder is if the try block is successful then I know that the catch block doesn´t execute.

Is it true that the finally block doesn´t execute either ?

try
{
}
     catch(Exception^ ex)
     {
     }
 finally
 {
      ServicePointManager::ServerCertificateValidationCallback = orgCallback; 
 }

>Is it true that the finally block doesn´t execute either ?
The finally block always executes, whether an exception was thrown or not.

Okay, thank you !

>Is it true that the finally block doesn´t execute either ?
The finally block always executes, whether an exception was thrown or not.