国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 南涧| 明溪县| 丁青县| 平舆县| 永州市| 望江县| 邯郸县| 周至县| 淮北市| 顺昌县| 廊坊市| 闽侯县| 龙门县| 娄烦县| 洛扎县| 南安市| 平泉县| 杂多县| 拜城县| 涟源市| 黔西| 广州市| 长宁县| 麻阳| 洛南县| 乌兰浩特市| 丽水市| 开阳县| 洛扎县| 花垣县| 磐安县| 泗阳县| 额尔古纳市| 略阳县| 八宿县| 柏乡县| 建瓯市| 双城市| 济阳县| 修武县| 平果县|