When implementing applications (like games etc) that need to avoid garbage collection because of the small pauses it introduces every time the garbage collector executes,
All you can do is avoid to keep on creating objects and try to reuse as much as possible the objects instances you already have.All you can do is avoid to keep on creating objects and try to reuse as much as possible the objects instances you already have.
This can be done in different ways take a look at this