RE: Basic types: objects or not?
- From: "Mark R. Dawson" <MarkRDawson@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Jul 2005 13:16:01 -0700
Hi John,
that is a really excellent article. So when static value types are
allocated are they boxed and stored on the heap, or just stored in the heap
as a value?
Thanks
Mark.
"Jon Skeet [C# MVP]" wrote:
> Mark R. Dawson <MarkRDawson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> <snip>
>
> > Value types are stored on the stack (one of the
> > types of areas of memory allocated to a process), the stack also stores
> > function parameters when you make a function call and return pointers to
> > allow the program to know where it needs to jump back to after a function
> > call.
>
> Stacks aren't only stored on the stack, and this description has caused
> numerous people problems in the past. See
> http://www.pobox.com/~skeet/csharp/memory.html
>
> --
> Jon Skeet - <skeet@xxxxxxxxx>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
>
.
- Follow-Ups:
- Re: Basic types: objects or not?
- From: Willy Denoyette [MVP]
- RE: Basic types: objects or not?
- From: Jon Skeet [C# MVP]
- Re: Basic types: objects or not?
- References:
- Basic types: objects or not?
- From: luis
- RE: Basic types: objects or not?
- From: Mark R. Dawson
- RE: Basic types: objects or not?
- From: Jon Skeet [C# MVP]
- Basic types: objects or not?
- Prev by Date: Re: C# and SQL - how to insert few lines together
- Next by Date: Re: Hosting Javascript in .NET Windows Form App? (Somewhat Advanced)
- Previous by thread: RE: Basic types: objects or not?
- Next by thread: RE: Basic types: objects or not?
- Index(es):
Relevant Pages
|