C#未将对象引用设置到对象的实例 数组 不指定

Else , 2008/10/09 01:42 , 积累些,自己也写些 , Comments(0) , Reads(3128) , Via Original
如果你是一個數組的話,一定要定義一下數組
這樣數組就不會引起錯誤
public string[] t1 = new string[2]; //電話區號
public string[] t2 = new string[2]; //電話區號

原來的程式:public string[] t2 ;
Add a comment

Nickname

Site URI

Email

Enable HTML Enable UBB Enable Emots Hidden Remember [Login] [Register]