1 / 136
文档名称:

ActualTests.Microsoft.070-536.Exam.Q.and.A.2006.08.10.pdf

格式:pdf   页数:136
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

ActualTests.Microsoft.070-536.Exam.Q.and.A.2006.08.10.pdf

上传人:bolee65 2014/8/10 文件大小:0 KB

下载得到文件列表

ActualTests.Microsoft.070-536.Exam.Q.and.A.2006.08.10.pdf

文档介绍

文档介绍:Exam : 070-536

Title : Microsoft .NET Framework —
Application Development Foundation

Ver :
070-536


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

Answer: D

QUESTION 2
You are creating a class that uses unmanaged resources. This class maintains references
to managed resources on other objects. You need to ensure that users of this class can
explicitly release resources when the class instance ceases to be needed. Which three
actions should you perform? (Each correct answer presents part of the solution. Choose
three.)

A. Define the class such that it inherits from the WeakReference class.
B. Define the class such that it implements the IDisposable interface.
C. Create a class destructor that calls methods on other objects to release the managed
resources.
D. Create a class destructor that releases the unmanaged resources.
E. Create a Dispose method that calls to force garbage collection.
F. Create a Dispose method that releases unmanaged resources and calls methods on
other objects to release the managed resources.

Answer: B,D,F

QUESTION 3
You are working on a debug build of an application.
You need to find the line of code that caused an exception to be thrown. Which property
of the Exception class should you use to achieve this goal?

A. Data
B. Message
C. StackTrace
D. Source

Answer: C

QUESTION 4
Your application uses two threads, named thread One and thread Two.
You need to modify the code to prevent the execution of thread One until thread Two
- The Power of Knowing
070