On 27.04.2011 16:25, Steven Schveighoffer wrote: >> You mean like "dispose" in Tango. That's called when "delete" or "scope" is >> used. > > Yes, that is exactly what I was thinking of (couldn't think of the name!). > It's actually used I think in Java and C# as well.
Well, not exactly like this in C# - Dispose() is intended to free any unmanaged resources, which are referenced by object, but not the memory allocated to object itself. /Alexander
