X hits on this document

PDF document

“Beginning Visual C# 2005 Express Edition Video Series” - page 34 / 73

161 views

0 shares

0 downloads

0 comments

34 / 73

All of the above reasons are more advanced topics and you’ll learn more about them as you continue to learn about programming in .NET.

Before I close, there is another, more advanced type of Destructor called Dispose. I won’t cover this now, but it’s a more deterministic way of destroying an object. By “deterministic” I mean that your application can be more proactive about destroying objects rather than just letting their reference go out of scope and allowing the Garbage Collector to find them. It’s analogous to calling the garbage collector in your home town and requesting them to pickup that old refrigerator that’s been in your garage for the last six months. Sure, they would find it as they routinely troll around the neighborhood on Monday, but you need to get rid of it NOW.

Supplemental Readings for the Express Edition Videos Copyright © 2005 LearnVisualStudio.NET



Document info
Document views161
Page views161
Page last viewedSun Dec 04 12:35:48 UTC 2016
Pages73
Paragraphs821
Words15988

Comments