Pro VB 2008 and the .NET 3.5 Platform

Authors: Troelsen, Andrew

Download source code
  • Covers VB with .NET 2.0 and .NET 3.0 in detail
  • Will be the definitive reference to using VB with the .NET 2.0 Platform and .NET 3.0 extensions
  • Contains a bonus CD providing over 500 page of additional supporting information
  • Offers the latest edition of the best selling Pro VB 2005 and the .NET 2.0 Platform
see more benefits

Buy this book

eBook $44.99
price for USA
  • ISBN 978-1-4302-0200-4
  • Digitally watermarked, DRM-free
  • Included format: PDF
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $59.99
price for USA
  • ISBN 978-1-59059-822-1
  • Free shipping for individuals worldwide
  • Online orders shipping within 2-3 days.
About this book

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.

About the authors

Andrew Troelsen is a partner, trainer, and consultant at Intertech Inc., and is a leading authority on both .NET and COM. His book Pro C# 2005 and the .NET 2.0 Platform won the prestigious 2003 Referenceware Excellence Award and is in its third edition. Also of note are his earlier five-star treatment of traditional COM in the bestselling Developer's Workshop to COM and ATL mirrored in his book, COM and .NET Interoperability, and his top-notch investigation of VB .NET in Visual Basic .NET and the .NET Platform: An Advanced Guide. Troelsen has a degree in mathematical linguistics and South Asian studies from the University of Minnesota, and is a frequent speaker at numerous .NET-related conferences. He currently lives in Minneapolis with his wife, Amanda, and spends his free time investigating .NET and waiting for the Wild to win the Stanley Cup. You can check out his blog at AndrewTroelsen.blogspot.com.

Table of contents (35 chapters)

Buy this book

eBook $44.99
price for USA
  • ISBN 978-1-4302-0200-4
  • Digitally watermarked, DRM-free
  • Included format: PDF
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $59.99
price for USA
  • ISBN 978-1-59059-822-1
  • Free shipping for individuals worldwide
  • Online orders shipping within 2-3 days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Pro VB 2008 and the .NET 3.5 Platform
Authors
Copyright
2008
Publisher
Apress
Copyright Holder
Andrew Troelsen
eBook ISBN
978-1-4302-0200-4
DOI
10.1007/978-1-4302-0200-4
Softcover ISBN
978-1-59059-822-1
Edition Number
3
Number of Pages
LX, 1377
Topics