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 final keyword in c#?
What are abstract classes in c#?
Can an int be negative c#?
Is datetime a value type in c#?
What is the difference between an implicit conversion and an explicit conversion?
How do I run managed code in a process?
how to sort an array in c#
Can you declare struct members as protected?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
In a site to turn off cookies for one page which method is followed?
Explain what a diffgram, and a good use for one Define diffgram? How it be used?
Can fields inside a class be virtual?
What is overriding in c#?
Is there hashmap in c#?
What is a hash table c#?