What is stack and heap?

Answer Posted / maria

I think stack is a memory that is used to store actual
values of an object whereas Heap is a memory that is used
to store references of the objects. Iam student of IUB
bahawalnagar campus. I hope you will give opinion on it.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain lock, monitors, and mutex object in threading.

522


Is equal in c#?

519


Can a constructor be static in c#?

533


How do you comment in c#?

509


What are jump statements in c#?

512






What is difference between abstraction and encapsulation in c#?

520


What is event and delegates in c#?

582


What's difference between constants and static readonly?

539


How assembly versioning in .NET prevent DLL Hell problem?

527


What is the difference between properties and indexer in c#?

444


What do you mean by the delegate in c#?

517


Can we create extension method for interface?

503


Can we inherit two classes in c#?

519


how to sort an array in c#

577


What are the benefits of using the aggregate method in linq?

512