Try Finally Statements
This example demonstrates how C# try-finally statement is ported to C++. They are translated to lambda expressions passed to System::DoTryFinally function.
Additional command-line options passed to CsToCppPorter: -o finally_statement_as_lambda#true.