Skip to Main Content
Building Applications and Components with Visual Basic .NET
book

Building Applications and Components with Visual Basic .NET

by Ted Pattison, Dr. Joe Hummel
October 2003
Intermediate to advanced content levelIntermediate to advanced
592 pages
13h 42m
English
Addison-Wesley Professional
Content preview from Building Applications and Components with Visual Basic .NET

Garbage Collection and Object Lifetimes

The programming model of the CLR is based on the premise that the system is responsible for allocating and managing the memory for types, values, and objects. As a consequence, programmers using the .NET Framework do not have to worry about allocating and managing memory. In fact, when you are writing managed code that will run under normal conditions (i.e., safe mode), it is illegal to directly allocate memory or to directly access memory through the use of pointers.

The CLR's memory management scheme presents challenges for programmers who are making the transition from unmanaged languages such as C and C++. These programmers have been conditioned to use a very hands-on style of memory management in their ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Visual Basic® .NET Power Coding

Visual Basic® .NET Power Coding

Paul Kimmel
Visual Basic 2015 Unleashed

Visual Basic 2015 Unleashed

Alessandro Del Sole
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 0201734958Purchase book