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 a jagged array?
Why are mutable structs evil?
What does console mean c#?
What to implement on my class Finalize or IDisposable
Which program construct must return a value?
Is overriding of a function possible in the same class?
Describe ado.net?
What do you mean by saying a "struct is a value type"?
Are arrays value types or reference types?
What is satellite assembly? And steps to create satellite assembly?
What does assert() do in c#?
Are all methods virtual in c#?
Is c# code is managed or unmanaged code?
What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?
Define Final Class in C#