A: using System.Collections;
B: using System.Collections.Generic;
C: using Valve.VR;
D: using UnityEngine.UI;
举一反三
- using Valve.VR;//有关HTC VIVE VR脚本,一定要有这个命名空间
- 使用SQL数据库需要引入命名空间( )。 A: using System B: using System.Data.OleDb C: System.Data.SqlClient D: using System.Data
- 在C#中,引用命名空间System的正确语句是()。 A: using System B: # import 〈System〉 C: uses System D: # include 〈System〉
- In user-managed backup and recover procedures, how are data files backed up? () A: Using SQL commands. B: Using SQL*Plus commands. C: Using operating system commands. D: Using Recover Manager commands.
- List所属命名空间() A: System B: System.Collections C: System.Collections.Generic D: Enagine
内容
- 0
C#使用using语句导入命名空间。( ) A: 对 B: 错
- 1
引用命名空间的关键字是什么? A: using B: use C: Using D: namespace
- 2
如想使用std命名空间,正确的程序语句是()。 A: using std; B: namespace std; C: using namespace; D: using namespace std;
- 3
下面C#程序正确的是()。 A: using System; <br/>class Hello <br/>{ <br/>static void<br/>Main()<br/>{<br/>Console.WriteLine("Hello, world"); <br/>} <br/>} B: using System; <br/>static void Main()<br/>{<br/>Console.WriteLine("Hello, world"); <br/>} C: using System; <br/>class Hello;<br/>static void<br/>Main();<br/>{<br/>Console.WriteLine("Hello, world");<br/>} <br/>} D: using System<br/>class Hello<br/>{ <br/>static void<br/>Main()<br/>{<br/>Console.WriteLine("Hello, world")<br/>} <br/>}
- 4
若定义有如下命名空间namespace N1.N2 { class A {} }下面引用命名空间错误的是 A: namespace N3{ using A = N1.N2.A; class B: A {}} B: namespace N3{ using R = N1.N2; class B: R.A {}} C: namespace N3{ using R1 = N1; } D: namespace N3{ using R1 = N1; using R3 = R1.N2; }