Why would you care? It is not removed from memory until it's safe to do so, anyway. It eliminates 90% of all the errors you get in unmanaged languages (the dreaded rogue pointer error, where a pointer is pointing at what is effectively random data).
Besides which, you do have control over it. It is cleared from memory, when you stop using it.
If you had done what you're trying to do above, in an unmanaged language, you would have frequently experienced spectacular random crashes, that would probably have taken an inexperienced programmer (here I'm talking about the kind of person who would know what color the sky is from person experience) forever to track down.
Besides which, you do have control over it. It is cleared from memory, when you stop using it.
If you had done what you're trying to do above, in an unmanaged language, you would have frequently experienced spectacular random crashes, that would probably have taken an inexperienced programmer (here I'm talking about the kind of person who would know what color the sky is from person experience) forever to track down.