If you do not know, the types that you use will probably be available to you.
Unmanaged types refer to types that are unsafe, that is, do not meet the CLR security requirements.
Excellent definition :
Update
I do not understand the downward view? The question was specifically how to distinguish between managed and unmanaged types?
All other answers related to the IDispose question, not the managed / unmanaged question !?
Update 2
Still no explanation for the second downvote ...
I agree, the IDisposable object should always be deleted, but this does not answer the question of managed and unmanaged.
John weldon
source share