Domanda di colloquio di Allscripts

What is Dispose()? How do you avoid memory leaks?