What is a stack in C# memory?

 Posted by Goud.Kv on 9/3/2014 | Category: C# Interview questions | Views: 1597 | Points: 40

Stack is a block of memory which stores parameters, local variables etc.
The special functionality of stack is that it grows when a function comes in and automatically shrinks when it is exited.
Stack is a static memory.

Asked In: Spotted While Learning | Alert Moderator 

Comments or Responses

Login to post response