判断题 C#支持多重继承。(   )

A、 正确
B、 错误
下载APP答题
由4l***oz提供 分享 举报 纠错

相关试题

单选题 接口中的方法默认是:(   )


A、

public abstract

B、

private

C、

protected

D、

static

单选题 以下哪种集合类型最适合快速查找元素?(   )


A、

List<T>

B、

Dictionary<TKey, TValue>

C、

ArrayList

D、

LinkedList<T>

单选题 以下哪种类型属于值类型?(   )


A、

int

B、

string

C、

object

D、

list<int﹥

单选题 如何实现方法的参数默认值?(   )


A、

void Method = 0

B、

`void Method(int x, default=0)`

C、

`void Method(int x = 0)`

D、

 C#不支持默认参数  

单选题 如何声明一个不可变的字符串?(   )

A) `` B) `readonly string s` C) `;` D)`

A、

const string s

B、

readonly string s

C、

string s = "abc"

D、

 final string s

单选题 以下哪个是C#的注释符号?(   )

A、

`//` 

B、

`/∗ ∗/`

C、

`--`

D、

以上都是

单选题 哪个命名空间包含`Console`类?(   )


A、

System.IO

B、

System.Collections

C、

System.Text

D、

System

单选题 以下哪个关键字用于抛出异常?(   )


A、

try

B、

throw

C、

catch

D、

finally