Answers for Microsoft .NET Online Test - Online Exam - Online Quiz - Mock Test
←Go Back to Online Practice TestQues. You use Reflection to obtain information about a method named MyMethod. You need to ascertain whether MyMethod is accessible to a derived class. What should you do? |
Option 1. Call the IsAssembly property of the MethodInfo class. |
Option 2. Call the IsVirtual property of the MethodInfo class. |
Option 3. Call the IsStatic property of the MethodInfo class. |
Option 4. Call the IsFamily property of the MethodInfo class. |
Ans. Option 4 |
Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website. |
Enter Reason |
Is it helpful?
Yes
No