Working on a number of legacy systems written in various versions of .NET, across many different companies, I keep finding examples of the following pattern:
I can see it coming from either a misunderstanding of how the garbage collection works, or an effort to force the GC to kick in immediately - perhaps because the objects foo and bar are quite large.