单项选择题
A. public class ShoppingList : ICollection {// Class implementation }
B. public class ShoppingList : IEnumerator, IEnumerable {// Class implementation }
C. public class ShoppingList : Ilist {// Class implementation }
D. public class ShoppingList : Enum {// Class implementation }
单项选择题 YouworkastheapplicationdeveloperatCertkiller.com.Certkiller.comusesVisualStudio.NET2005asitsapplicationdevelopmentplatform.YouhaverecentlyfinisheddevelopmentofaclassnamedTestRewardandpackagetheclassina.NET2.0assemblynamedTestObj.dll.Afteryoushiptheassemblyanditisusedbyclientapplications,youdecidetomovetheTestRewardclassfromTestObj.dllassemblytotheTestRewardObj.dllAssembly.YouaretoensurewhenyoushiptheupdatedTestObj.dllandTestRewardObj.dllassembliesthattheclientapplicationscontinuetoworkanddonotrequirerecompiling.Whatshouldyoudo?()
单项选择题 YouworkasanapplicationdeveloperatCertkiller.com.YouarecurrentlyintheprocessofcreatingaclassthatstoresdataaboutCertkiller.com’scustomers.Certkiller.comcustomersareassigneduniqueidentifiersandvariouscharacteristicsthatmayincludealiases,shippinginstructions,andsalescomments.Thesecharacteristicscanchangeinbothsizeanddatatype.YoustartbydefiningtheCustomerclassasshownbelow:publicclassCustomer{privateintcustID;privateArrayListattributes;publicintCustomerID{get{returncustID;}}publicCustomer(intCustomerID){this.custID=CustomerID;this.attributes=newArrayList();}publicvoidAddAttribute(objectatt){attributes.Add(att);}}YouhavetocreatetheFindAttributemethodforlocatingattributesinCustomerobjectsnomatterwhatthedatatypeis.YouneedtoensurethattheFindAttributemethodreturnstheattributeiffound,andyoualsoneedtoensuretype-safetywhenreturningtheattribute.Whatshouldyoudo?()
单项选择题 YouworkastheapplicationdeveloperatCertkiller.com.Certkiller.comusesVisualStudio.NET2005asitsapplicationdevelopmentplatform.Youareintheprocessofstoringnumericalvaluesupto2,100,000,000intoavariableandmayrequirestoringnegativevaluesusinga.NETFramework2.0application.Youarerequiredtooptimizememoryusage.Whatshouldyoudo?()