That is <i>almost</i> true, but there&#x27;s one exception in those GC&#x27;ed languages due to the dichotomy of value types and reference types. The confusing behavior on capturing the iteration variable is one example.