Wrox Programmer Forums
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 29th, 2004, 12:59 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default Structure / Stack Question

I am taking an online course on "Transitioning from VB6 to VB.NET."

In the section on structures, it said that structures are value-type data, not reference-type, and that they therefore are saved on the stack, rather than the heap.

In what I have been able to find at MS.com's MSDN site, and elsewhere, I am starting to suspect that there is a region in .NET called the stack which is different from the procedure-call stack.

Stacks (virtually always) are First-In, Last-Out arrangements. How can an arbitrarily, randomly accessED variable be handled on a FILO stack?

I really could use some illumination here...

(I have programmed in C, a little in C++, and I make my living writing and upgrading a large VB IIS application. I understand programming environments, but not this feature--as described to me so far, anyway.)

Brian Wren
 
Old December 30th, 2004, 07:07 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

No one knows?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Implementing a Stack navdeep C# 2005 1 October 28th, 2007 06:44 AM
Question for Chapter2 NameSpace and Fold structure lovehorse BOOK: ASP.NET Website Programming Problem-Design-Solution 1 October 16th, 2006 08:21 AM
Stack segment fuehrer C++ Programming 1 April 29th, 2005 01:59 AM
Stack question BrianWren VB.NET 2002/2003 Basics 1 December 30th, 2004 07:06 PM
C++ Stack? Spivonious C++ Programming 6 October 11th, 2004 03:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.