YoucreateacustomservercontrolnamedTaskthatcontainsthefollowingcodesegment.YouneedtoensurethataddingaTaskcontrolfromtheToolboxcreatesmarkupinthefollowingformat.Whichtwoactionsshouldyouperform?()A.Addthefollowingcodesegmenttotheproject’sAssemblyInfo.csfile.

题目
YoucreateacustomservercontrolnamedTaskthatcontainsthefollowingcodesegment.YouneedtoensurethataddingaTaskcontrolfromtheToolboxcreatesmarkupinthefollowingformat.Whichtwoactionsshouldyouperform?()

A.Addthefollowingcodesegmenttotheproject’sAssemblyInfo.csfile.[assembly:TagPrefix("DevControls","Dev")]

B.Replaceline05withthefollowingcodesegment.[DefaultValue("NewTask")]

C.Insertthefollowingcodesegmentimmediatelybeforeline03.[ToolboxData("<{0}:Taskrunat=\"server\"Title=\"NewTask\"/>")]

D.Replaceline10withthefollowingcodesegment. output.Write("<Dev:Taskrunat=\"server\"Title=\"NewTask\"/>");


相似考题