This is for an assignment ? Basically, the GC will run when the app closes. Also, basically, 99.9% of people writing .NET code have no need to understand when the GC runs.
There are books that explain the cycles of the GC, if this is a school assignment, did they not give you such a book to read ?