int type_id;public int Type_Id{get { return type_id; }set { type_id = value; }}但是這樣寫總是提示:無法將類型“string”隱式轉換為“int”
2 回答

肥皂起泡泡
TA貢獻1829條經驗 獲得超6個贊
int
表示數據的類型;
而方法public
static
int
number
toten(int
beforeconversion,string
number)中表示該函數返回int類型的數據,而不能理解為修飾方法。
- 2 回答
- 0 關注
- 313 瀏覽
添加回答
舉報
0/150
提交
取消