单项选择题
你在 Certkiller .com做应用程序的开发工作。,Certkiller.com 希望可以开发一个应用程序存储和独特的帐号的方式检索客户端的信息。您创建的自定义集合类,该类实现 IDictionary 接口,名为ClientDictionary。下面的代码已纳入新的应用程序。//Create 客户端对象Client c1 = new Client ("AReid", "Andy Reid", Status.Current); Client c2 = new Client ("DAustin", "Dean Austin", Status.New); //Create ClientDictionary objectIDictionary cData = new ClientDictionary ();cData.Add ("10001", c1);cData.Add ("10002", c2);您可以使用相同的方法将其他客户端对象添加到集合。您需要确保您能够检索与帐号 10111 相关联的客户信息。你应该做什么?()
A.
B.
C.
D.
相关考题
-
单项选择题
WhencompressingdatawiththeDeflateStreamclass,howdoyouspecifyastreamintowhichtowritecompresseddata?()
A. Set the BaseStream property with the destination stream, and set the CompressionMode property to Compression.
B. Specify the stream to write into the DeflateStream object is created (for example, in the constructor).
C. Use the Write method of the DeflateStream class.
D. Register for the BaseSream event of the DeflateStream class. -
多项选择题
WhattypesofobjectsderivefromteMemberInfoclass?()
A. FieldInfo class
B. MethodInfo class
C. Assembly class
D. Type class -
多项选择题
WhichmethodsallowCOMcomponentstobeusedin.NETapplications?()
A. Add a reference to the component throudh Microsoft Visual Studio 2005.
B. Use the type Library Import tool (TlbImport.exe).
C. Use the Regsvr32 tool.
D. Ensure thet the application is registered, using the RegSvr tool if necessary. Then either add a reference to it from dialog box or use TblIpm.exe.
