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
How do I do implement a trace?
How to Show Message box in Metro Style App?
What is a copy constructor in c#?
What is difference between internal and protected internal in c#?
Why do we use dictionary in c#?
Is c sharp open source?
Define parsing? Explain how to parse a datetime string?
What are class fields?
What is the syntax for calling an overloaded constructor within a constructor?
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
What is difference between static and constant variable?
What is a class c#?
How can it prevents DLL Hell assembly versioning in .NET?
What are the examples of data types?
What is boxing & unboxing?