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

首頁 > 學院 > 開發(fā)設(shè)計 > 正文

關(guān)于C#的問答

2019-11-18 17:55:45
字體:
供稿:網(wǎng)友

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 的區(qū)別?
A:
Q:能將不同類型的數(shù)據(jù)存在System.Array中嗎?
A:不能

Q:System.Array.CopyTo() 和 System.Array.Clone()區(qū)別?

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.


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 西盟| 罗平县| 富蕴县| 高唐县| 井陉县| 云霄县| 故城县| 建始县| 大港区| 鄄城县| 利川市| 祁门县| 广昌县| 闸北区| 凤阳县| 武乡县| 阿合奇县| 陵川县| 腾冲县| 上思县| 佳木斯市| 甘谷县| 神农架林区| 安多县| 铅山县| 合江县| 崇仁县| 琼海市| 搜索| 阿尔山市| 嘉黎县| 周至县| 丹寨县| 临洮县| 商南县| 扬中市| 靖西县| 博客| 綦江县| 吐鲁番市| 伊宁市|