单项选择题

You need to write a code segment that performs the following tasks:         
Retrieves the name of each paused service.          
Passes the name to the Add method of Collection1. 
Which code segment should you use?()

 

A.A
B.B
C.C
D.D


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题

为应用程序开发人员上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。
您正在开发.NET Framework2.0金融应用程序和忙发展一个模块,备份重要数据,在单独的硬盘上。
您需要决定哪些属性的DriveInfo类使用和查找等脂肪或NTFS驱动器的可用空间的文件系统的类型和应由应用程序忽略用户的磁盘配额。
你应该做什么?()

A.使用 DriveFormat 和 TotalFreeSpace DriveInfo 类的属性
B.使用 DriveType 和 AvailableFreeSpace DriveInfo 类的属性
C.使用 VolumeLabel 和 TotalSize DriveInfo 类的属性
D.使用 DriveType 和 TotalSize DriveInfo 类的属性
E.使用 DriveFormat 和 AvailableFreeSpace DriveInfo 类的属性

10.单项选择题

选择正确的选项()

A.A
B.B
C.C
D.D

最新试题

You need to serialize an object of type List<int> in a binary format.The object is named data.Which code segment should you use?()

题型:单项选择题

Certkiller .com has a file server named Certkiller -SR07 that stores old inventory files. Certkiller .com has given you the task of creating an application to archive these old inventory files.The inventory files have to be compressed prior to being uploaded to Certkiller .com's Web server.You are currently writing a method that will receive a byte array and compress it into a new file.You need to ensure that a data corruption check takes place during the decompression process.What should you do?()

题型:单项选择题

You have recently written the code shown below:Hashtable emailAddresses = new Hashtable ();emailAddresses.Add ("Mia", "mia@ Certkiller .com");emailAddresses.Add ("Andy", "andy@ Certkiller .com");emailAddresses.Add ("Kara", "kara@ Certkiller .com");FileStream stream = new FileStream ("Email.dat", FileMode.Create);BinaryFormatter formatter = new BinaryFormatter ();formatter.Serialize (stream, emailAddresses);You need to ensure that you are able to load the emailAddresses object from the Email.dat file into your application.What should you do?()

题型:单项选择题

You are currently in the process of creating an application that reads binary information from a file.You need to ensure that the only the first kilobyte of data is retrieved.What should you do?()

题型:单项选择题

Certkiller .com has asked you to create a file management application to monitor the hosts file.Certkiller .com has instructed you to change the hosts file if it has been changed.You, therefore, need to display the size and whether the hosts file is set to read-only.What should you do?()

题型:单项选择题

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform.You are developing a Windows Service application which contains three different Windows services.You are required to only set one Windows service to start automatically when the system is restarted.What should you do?()

题型:单项选择题

Certkiller.com 已经聘请了小的本地私立学校的发展将在应用程序中,ManageAttendance 名学生档案管理的目的而使用的类库。您应负责此类图书馆发展。Certkiller.com 已指示您学习的结果存储到应用程序中创建的集合。目前仅有七个学生,但此值将增加两倍,在下一年度,学校已通知您。由于对有限的资源,您需要确保您所创建的集合消耗最少的资源。创建集合,您应该使用什么?()

题型:单项选择题

为应用程序开发人员上班 Certkiller。 com。Certkiller.com 作为其应用程序使用 Visual Studio.NET 2005开发平台。您正在开发。NET Framework 2.0 应用程序将用于地理的映射。每当您加载插件的创建单独的应用程序域。要指定搜索的目录列表私有程序集。您需要将应用程序基目录添加为部件,您的搜索和需要配置应用程序域满足要求 ()

题型:单项选择题

You need to read the entire contents of a file named Message.txt into a single string variable.Which code segment should you use?()

题型:单项选择题

为应用程序开发人员上班 Certkille。.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。您正在开发一个 Windows 服务应用程序包含两个服务。第一个服务监控目录的新订单,而其他服务将复制的数据库表的最新信息。您需要开发一个项目安装程序类,以安装这些服务。你应该做什么?()

题型:多项选择题