3 ms·
I think both of those are available in C#.
by jmull 4y ago
I think both of those are available in C#.
- deadbeeves 4y agoAOT maybe. RAII definitely not.
- jmull 4y agousing/disposable?
- deadbeeves 4y agousing and/or finally are things you have to get right every time you instantiate the class, and if you get it wrong you no longer get deterministic destruction. Compare with C++, where RAII is the default policy and you have to take extra steps to get dynamic lifetimes.