| 网站首页 | JAVA文章 | AppServers | Web开发 | 应用开发 | 资源下载 | 论坛
    学好外语能够获得更多的国外先进编程技术  [enadd  2006年12月25日]        
设为首页 加入收藏 联系站长
您现在的位置: 编程笔记网 >> Web开发 >> 网络编程 >> C# >> CSharpDoc >> 文章正文
关于C#的问答            【字体:
关于C#的问答
作者:不详    文章来源:网络    点击数:    更新时间:2007-1-20

作者:佚名 文章来源:不详 点击数: 更新时间:2006-6-15

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.

[1]

文章录入:enadd    责任编辑:enadd 
  • 上一篇文章:

  • 下一篇文章:
  • 发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    最新热点 最新推荐 相关文章
  • C# 3.0语言详解之基本的语言…

  • C# 2.0与泛型

  • C# 2.0中泛型编程初级入门教…

  • C#中结构与类的区别

  • C#和VB.net语法对比图

  • C#的四个基本技巧

  • C#基础—关于类

  • 漫谈C#编程中的多态与new关键…

  • C# Namespace

  • C# 中的类型转换

  •   网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 | 管理登录 |