Answer Posted / pushparaj pentakota(anakapalli
stack can store value type and reference type also but at compile time only but heap can store objects at run-time.stack can't store objects bcz stack at run-time can't increse their memory size it's fixed length.objects need extra memory sometimes so objects allocate memory in heap context.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is dictionary class in c#?
How do I port "synchronized" functions from visual j++ to c#?
Which program construct must return a value?
What is a console file?
What is dependency injection in simple words?
Explain copy constructor?
What is single dimensional array in c#?
Explain about multithreading?
How do I trim a space in c#?
Is c# a strongly-typed language?
What is sql transaction in c#?
What is default boolean value in c#?
What happens if you add duplicate elements to a set?
Why abstract class can not be instantiated?
What is the use of static members with example using c#.net.