If we create any static variable then where it is storage.
eg
static int a=10;
static bool b=false;
static string name="Hamid";
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rahul SinghPosted Dec 26, 2014, 4:07 AM
Static variables are stored on the Managed Heap, when the type is first referenced. The Type Object of the compiled class contains a reference to the object. Please check below link for more details:-
http://msdn.microsoft.com/en-us/magazine/cc163791.aspx#S14
Hamid KhanPosted Apr 12, 2017, 12:06 PM