1
Reply

What is the use of GC.KeepAlive Method?

Fatima Begum

Fatima Begum

12y
1.7k
0
Reply

    It is use to keep the obj Alive in case of it is no longer use in the code ,it will be destroy by finlize by GC that's why we use gc.keepalive to keep safe its reference in memory.