 |
[C#, CSharp, C Sharp 教學 教程 教材 Tutorial] 建構函式(Constructor)與解構函式(Destructor)
實值型別 預設值 實值型別 預設值 bool false byte 0 char '\0' decimal 0.0M double 0.0D float 0.0F int 0 long 0L long 0L sbyte 0 short 0 uint 0 ulong 0 ushort 0 enum 依識別項型別而定 struct 實值型別欄位會設為預設值,參考型別設為null
notepad.yehyeh.net |
 |