Is it true that - Garbage Collector won't collection the object of struct type
===

Yesterday, we had a discussion on GC. and the discussion point was Gargbage collection.

It was discussed that the objects created using Classes are collected by Garbage collector, but it cannot be collected by GC, if it is being created using struct.

I know that structures uses stack and classes uses heap.

But, I guess GC never collects unmanaged codes only. So is that means the Structure types are unmanaged code. (I don't think so).

OR is that means the GC take care of Heap only not Stack?

If yes, then what about int data type. int is struct not class. So if we defined the object of type int, isn't it managed by GC?

