Question Set

1. Which of the following is the correct way to apply an attribute to an Assembly?






Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->.What is the maximum font size you can apply for any character?....
QA->A pendulum clock is set to give correct time at the sea level. This clock is moved to a hill station at an altitude of 2500m above the sea level. In order to keep correct time on the hill station, the length of the pendulum?....
QA->The attribute of color by means of which a color is identified ?....
QA->What is the basic attribute of a formal organization?....
QA->Who were the first to attribute coins to the kings?....
MCQ->Which of the following is the correct way of applying the custom attribute called Tested which receives two-arguments - name of the tester and the testgrade? Custom attribute cannot be applied to an assembly. [assembly: Tested("Sachin", testgrade.Good)] [Tested("Virat", testgrade.Excellent)] class customer { / .... / } Custom attribute cannot be applied to a method. Custom attribute cannot be applied to a class.....
MCQ->Which of the following statements are correct about inspecting an attribute in C#.NET? An attribute can be inspected at link-time. An attribute can be inspected at compile-time. An attribute can be inspected at run-time. An attribute can be inspected at design-time.....
MCQ->Which of the following statements are correct about a .NET Assembly? It is the smallest deployable unit. Each assembly has only one entry point - Main(), WinMain() or DLLMain(). An assembly can be a Shared assembly or a Private assembly. An assembly can contain only code and data. An assembly is always in the form of an EXE file.....
MCQ->Which of the following statements are correct about Attributes in C#.NET? On compiling a C#.NET program the attibutes applied are recorded in the metadata of the assembly. On compilation all the attribute's tags are deleted from the program. It is not possible to create custom attributes.. The attributes applied can be read from an assembly using Reflection class. An attribute can have parameters.....
MCQ->Which of the following is the correct way to apply an attribute to an Assembly?....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution