Garbage Collection

I try GC. use under 2 function

Debug.EnableGCMessages(false);
Debug.GC(false);

Especially, Debug.GC(false) and Debug.GC(true); is Same.

the bool is not operate?

Your English is … :slight_smile: Maybe Google translator would do a better job?

Look at description here: Debug.GC Method | Microsoft Learn

“A Boolean value that specifies whether garbage collection should be forced.”

So, in both cases it will print out the same information, but when True is sent, you will force garbage collection.