Reflection MCQs
Reflection MCQs
Reflection MCQs
NET
Multiple choice questions
b. Define assembly
c. Load assembly
2. Which of these is true about assembly that contains the code that is currently executing
c. All of these
b. Type
a. MethodInfo
b. FlagsAttribute
c. Bindingflags
a. MethodInfo
b. FieldInfo
c. MemberInfo
a. Event
b. Custom
c. Field
a. Event
b. Custom
c. Field
a. Event
b. Custom
c. Field
12. Method Specifies that the member is a method, representing a:
a. MethodInfo member
b. MemberInfo member
c. feildInfo member
a. MethodInfo member
b. MemberInfo member
c. feildInfo member
a. MethodInfo member
b. PropertyInfo member
c. feildInfo member
a. TypeInfo member.
b. PropertyInfo
c. MemberInfo
a. Yes
b. No
17. How to Get an array that contains the generic type arguments, using the GetGenericArguments
method.
a. Yes
b. No
a. By using IsGenericType
b. By using IsGenericMethod
c. By using MethodInfo
c. Both a&b