国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > 綜合 > 正文

關于C#的問答

2024-07-21 02:29:36
字體:
來源:轉載
供稿:網友

 

q:c#支持多繼承嗎?
a:不
q:protected class訪問級別如何?
a:允許本類和子類訪問
q:private class變量可以被繼承嗎?
a:行,但不能被訪問,但可以被繼承
q:描述一下protected internal
a:只有派生類型或同一程序集中的類型才能訪問該成員。
q:what does the term immutable mean?
a:the data value may not be changed.  note: the variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory.
q:system.string 和system.text.stringbuilder 的區別?
a:
q:能將不同類型的數據存在system.array中嗎?
a:不能

q:system.array.copyto() 和 system.array.clone()區別?

a:the clone() method returns a new array (a shallow copy) object containing all the elements in the original array.  the copyto() method copies the elements into another existing array.  both perform a shallow copy.  a shallow copy means the contents (each array element) contains references to the same object as the elements in the original array.  a deep copy (which neither of these methods performs) would create a new instance of each element's object, resulting in a different, yet identacle object.

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 合江县| 彭州市| 江北区| 图木舒克市| 锡林郭勒盟| 民权县| 贵溪市| 威远县| 竹溪县| 新绛县| 惠州市| 郧西县| 安仁县| 林州市| 双鸭山市| 桂林市| 宣城市| 阳原县| 上林县| 西乡县| 启东市| 巴中市| 瑞丽市| 香河县| 武邑县| 虎林市| 宜川县| 曲周县| 龙泉市| 鹿泉市| 牙克石市| 开封县| 德安县| 嘉定区| 若羌县| 蒙自县| 叶城县| 宁德市| 岐山县| 铜川市| 交城县|