單項選擇題

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?()

A.Call the IsAssembly property of the MethodInfo class.
B.Call the IsVirtual property of the MethodInfo class.
C.Call the IsStatic property of the MethodInfo class.
D.Call the IsFamily property of the MethodInfo class.

微信掃碼免費搜題