声明一个变量时,C#是否为他分配了内存空间?
如:
public int a;
public int a=5;
局部
int a;
int a=5;
public string s;
public stirng s="";
public string s=null;
局部
string s;
stirng s="";
string s=null;
System.Web.UI.Page page;
System.Web.UI.Page page = new System.Web.UI.Page();
网上查了一下,还是不太明白.