1. 程式人生 > >c#面向對象2

c#面向對象2

gpo str 默認 span nbsp 構造函數 對象 ont 不支持

1.結構是指傳遞的。

2.結構不支持繼承,不能定義默認構造函數。

3. struct fish {
int weight;
int size;
int type;
}

c#面向對象2