"actually int is a value type it has stored in stack memory but this is not under control of garbage collector, who is clear memory if garbage collector not cleaned at that time we consider as un managed code but value types are also managed code" . . . .