VB.NET/C#でガベージ・コレクタを明示的に動作させる

VB.net

Imports System
...

System.GC.Collect()

C#

using System;
...

GC.Collect();