Pro VB 2008 and the .NET platform /

Saved in:
Bibliographic Details
Author / Creator:Troelsen, Andrew W.
Imprint:Berkeley, CA : Apress ; New York, N.Y. : Distributed worldwide by Springer-Verlag, c2008.
Description:1 online resource (xxx, 1377 p.) : ill.
Language:English
Series:The expert's voice in .NET
Expert's voice in .NET.
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/8886741
Hidden Bibliographic Details
ISBN:9781430202004
1430202009
9781590598221 (pbk.)
1590598229 (pbk.)
Notes:Includes index.
Description based on print version record.
Other form:Print version: Troelsen, Andrew W. Pro VB 2008 and the .NET platform. Berkeley, CA : Apress ; New York, N.Y. : Distributed worldwide by Springer-Verlag, c2008 9781590598221 1590598229
Description
Summary:The point of this chapter was to demystify the garbage collection process. As you have seen, the garbage collector will only run when it is unable to acquire the necessary memory from the m- aged heap (or when a given AppDomain unloads from memory). When a garbage collection does occur, you can rest assured that Microsoft's collection algorithm has been optimized by the use of object generations, secondary threads for the purpose of object finalization, and a managed heap dedicated to host large objects. This chapter also illustrated how to programmatically interact with the garbage collector using the System. GC class type. As mentioned, the only time when you will really need to do so is when you are building finalizable or disposable class types. Recall that finalizable types are classes that have overridden the virtual System. Object. Finalize() method to clean up unmanaged resources (at some time in the future). Disposable objects, on the other hand, are classes (or structures) that implement the IDisposable interface. Using this technique, you expose a public method to the object user that can be called to perform internal cleanup ASAP. Finally, you learned about an of- cial "disposal" pattern that blends both approaches. PART 3 Advanced VB Programming Constructs CHAPTER 9 Working with Interface Types This chapter builds on your current understanding of object-oriented development by examining the topic of interface-based programming.
Item Description:Includes index.
Physical Description:1 online resource (xxx, 1377 p.) : ill.
ISBN:9781430202004
1430202009
9781590598221
1590598229