▲ 6 ▼ C++ has scope_exit for running code at scope exit. C# says "We have scope_exit at home." - The Old New Thing (devblogs.microsoft.com) submitted 9 months ago by SmartmanApps@programming.dev to c/csharp@programming.dev 7 comments fedilink hide all child comments