Explanation The purpose of the KeepAlive method is to ensure the existence of a reference to an object that is at risk of being prematurely reclaimed by the garbage collector. Reference: GC.KeepAlive Method (Object) https://msdn.microsoft.com/en-us/library/system.gc.keepalive(v=vs.110).aspx