.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

STACK MEMORY

Posted By: asimu     Posted Date: August 15, 2010    Points:2   Category :.NET Framework
REFERENCE TYPES MEMORY WIL BE STORED IN HEAP MEMORY BUT WHAT ABOUT STACK MEMORY WHERE WIL IT BE STORED AND HOW GARBAGE COLLECTOR WIL TAKE CARE ABOUT IT???

Responses
Author: Syed Shakeer Hussain             
Posted Date: August 15, 2010     Points: 5   

Hi asimu,
value types holds the data directly ,no default value for 
value type ex-->predefined datatypes
-->structures
-->enumarator
valuetypes will be stored in stack memory.

refe types does not holds the value directly,ref type holds
the default value ex-->arrays
-->classes
-->objects

refrence types will be stored in heap memory


For more Details about Stack and Heap check the below link
http://www.maxi-pedia.com/what+is+heap+and+stack

Author: Jegan R             
Posted Date: November 01, 2010     Points: 5   

Stacks in computing architectures are regions of memory where data is added or removed in a last-in-first-out manner



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend