Use
GC.Collect[
^]
Note that there are very little good reasons to do this. The operation is costly, evaluating all objects for collection; it is blocking, making the rest of your program wait; and except for really resource starved systems makes no difference if the code is written respecting disposable interfaces.