Pro VB 2008 and the .Net 3.5 Platform
| AUTHOR | Troelsen, Andrew; Troelsen, Andrew W. |
| PUBLISHER | Apress (11/01/2007) |
| PRODUCT TYPE | Paperback (Paperback) |
Description
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.
Show More
Product Format
Product Details
ISBN-13:
9781590598221
ISBN-10:
1590598229
Binding:
Paperback or Softback (Trade Paperback (Us))
Content Language:
English
Edition Number:
0003
More Product Details
Page Count:
1377
Carton Quantity:
8
Product Dimensions:
7.23 x 2.23 x 9.06 inches
Weight:
3.93 pound(s)
Feature Codes:
Index,
Price on Product,
Table of Contents,
Illustrated
Country of Origin:
US
Subject Information
BISAC Categories
Computers | Languages - Visual BASIC
Computers | Software Development & Engineering - General
Computers | Programming - Microsoft
Dewey Decimal:
005.262
Library of Congress Control Number:
2008298350
Descriptions, Reviews, Etc.
annotation
Whether the reader is moving to .NET for the first time, or already writing applications on .NET 2.0 or .NET 3.0, "Pro VB 2008 and the .NET 3.5 Framework" will provide a solid grounding in this new technology and serve as a comprehensive reference to coding.
Show More
publisher marketing
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.
Show More
List Price $54.99
Your Price
$54.44
