? ? 值類型:int,double,char,bool,struct,enum,……
引用類型:string,自定義類,數(shù)組
值類型?的值是存儲(chǔ)在內(nèi)存的 棧 當(dāng)中,引用類型 的值是存儲(chǔ)在內(nèi)存的 堆 當(dāng)中。