Chapter 14. Using garbage collection and resource management

After completing this chapter, you will be able to:

Image Manage system resources by using garbage collection.

Image Write code that runs when an object is destroyed.

Image Release a resource at a known point in time in an exception-safe manner by writing a try/finally statement.

Image Release a resource at a ...

Get Microsoft Visual C# Step by Step, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.