Where does Static variables store ?

 Posted by Chvrsri on 11/24/2010 | Category: ASP.NET Interview questions | Views: 3228 | Points: 40

Static variables are stored on the Heap of the memory. It is not dependent on whether it is declared within a reference type or a value type.

These variables will be in the memory till the time program ends.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response