国产探花免费观看_亚洲丰满少妇自慰呻吟_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.

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 甘谷县| 肥东县| 车致| 宿州市| 永兴县| 阿城市| 勐海县| 云浮市| 贵南县| 石狮市| 龙州县| 大埔县| 阿勒泰市| 马尔康县| 鄂州市| 贵德县| 盘锦市| 河南省| 克拉玛依市| 开封县| 丁青县| 新巴尔虎右旗| 清水县| 龙海市| 巢湖市| 怀安县| 祁阳县| 乐都县| 武鸣县| 依安县| 泗水县| 日照市| 图木舒克市| 司法| 高邑县| 柘城县| 威海市| 泸溪县| 紫云| 清河县| 阿克苏市|