30.06.2013 Views

Under the Hood of .NET Memory Management - Simple Talk

Under the Hood of .NET Memory Management - Simple Talk

Under the Hood of .NET Memory Management - Simple Talk

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 1: Prelude<br />

Figure 1.1: Example <strong>of</strong> a stack frame.<br />

Heap<br />

So where does <strong>the</strong> Data Heap come into it? Well, <strong>the</strong> stack can store variables that<br />

are <strong>the</strong> primitive data types defined by .<strong>NET</strong>. These include <strong>the</strong> following types (see<br />

http://tinyurl.com/FrameworkOverview):<br />

• Byte • SByte • Int16<br />

• Int32 • Int64 • UInt16<br />

• UInt32 • UInt64 • Single<br />

• Double • Boolean • Char<br />

• Decimal • IntPtr • UIntPtr<br />

• Structs<br />

18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!