关于C#的问答_C#教程
来源:互联网 发布:数据库的命名规则 编辑:程序博客网 时间:2024/05/17 07:34
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.
- 关于C#的问答_C#教程
- 关于C#的问答_C#教程
- C#基础—关于类 _C#教程
- C#基础—关于类 _C#教程
- C#的四个基本技巧 _C#教程
- C#的四个基本技巧 _C#教程
- C#的前途如何?_C#教程
- C#的前途如何?_C#教程
- C#的多线程机制初探(2)_C#教程
- C#的多线程机制初探(2)_C#教程
- 基于C#的接口基础教程之二_C#教程
- 基于C#的接口基础教程之二_C#教程
- 挑战C#学习的最快速度_C#教程
- 挑战C#学习的最快速度_C#教程
- C#的多线程机制初探(4)_C#教程
- C#的多线程机制初探(3)_C#教程
- C#的多线程机制初探(4)_C#教程
- C#的多线程机制初探(3)_C#教程
- C#就是Java只不过差了一点点_C#教程
- C#中结构与类的区别_C#教程
- C#和VB.net语法对比图_C#教程
- 数据结构与算法(C#实现)系列---树(三)_C#教程
- C#,深入浅出全接触(一)_C#教程
- 关于C#的问答_C#教程
- 数据结构与算法(C#实现)系列---N叉树(二) _C#教程
- C# 2.0中泛型编程初级入门教程_C#教程
- 请教如何改善C#中socket通信机客户端程序的健壮性_C#教程
- SUNWEN教程之----C#进阶(五)_C#教程
- C#中方法参数的四种类型_C#教程
- C#中的域(field)和属性(property)_C#教程
- SUNWEN教程之----C#进阶(六)_C#教程
- 数据结构与算法(C#实现)系列---广义树(一)_C#教程