Releases all resources used by the Container.
Assembly: System (in System.dll)
Call Dispose when you are finished using the Container. The Dispose method leaves the Container in an unusable state. After calling Dispose, you must release all references to the Container so the garbage collector can reclaim the memory that the Container was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.