int (C# 參考)


int (C# 參考)

int (C# 參考)
msdn.microsoft.com/zh-tw/library/5kzh1b5w.aspx
當整數常值沒有後置字元時,它的型別會是下列中可表示其值的第一個型別:int、uint、long 和 ulong。 在上述範例裡,它是 int 型別。 long aLong = 22; int i1 = aLong; // Error: no implicit conversion from long. int i2 = (int)aLong; // OK: explicit conversion



廣 告
߻

Copyright(C)2000 demon.com.tw/ All Rights Reserved 著作權所有 惡魔搜尋引擎
客服時間: 週一至週五 pm12:30~pm6:00
LINE ID: @536fvrtx 或LINE:加入好友