Releases all resources used by the current instance of the CountdownEvent class.
Assembly: mscorlib (in mscorlib.dll)
Call Dispose when you are finished using the CountdownEvent. The Dispose method leaves the CountdownEvent in an unusable state. After calling Dispose, you must release all references to the CountdownEvent so the garbage collector can reclaim the memory that the CountdownEvent was occupying.