Question Set

1. 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.






Ask Your Doubts Here

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

Comments

Show Similar Question And Answers
QA->Two statements are given followed by two conclusions I and II. You have to consider the two statements to be true even if they seem to be at variance from commonly known facts. You have to decide which one of the given conclusions is definitely drawn from the given statements. Statement : All virtuous persons are happy. No unhappy person is virtuous. Conclusions : I. Happiness is related to virtue II. Unhappy person is not virtuous.....
QA->There are 4000 literates in a village.45 % read Newspaper A and 65% read Newspaper B.25% read neither A nor B.How many persons read both the newspapers?....
QA->Which one of the following statements with regard to the "Make in India" initiative of the Government of India is not correct?....
QA->All of the following statements are correct except?....
QA->Old-written material; which cannot be read easily; how can be read?....
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 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 objects of a user-defined class called Sample? All objects of Sample class will always have exactly same data. Objects of Sample class may have same or different data. Whether objects of Sample class will have same or different data depends upon a Project Setting made in Visual Studio.NET. Conceptually, each object of Sample class will have instance data and instance member functions of the Sample class. All objects of Sample class will share one copy of member functions.....
MCQ->Which of the following are valid .NET CLR JIT performance counters? Total memory used for JIT compilation Average memory used for JIT compilation Number of methods that failed to compile with the standard JIT Percentage of processor time spent performing JIT compilation Percentage of memory currently dedicated for JIT compilation....
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