1. Question: Which of the following are characteristics of the System.Threading.Timer class?

    A
    The method provided by the TimerCallback delegate will always be invoked on the thread which created the timer.

    B
    The thread which creates the timer must have a message processing loop (i.e. be considered a UI thread)

    C
    The class contains protection to prevent reentrancy to the method provided by the TimerCallback delegate

    D
    You can receive notification of an instance being Disposed by calling an overload of the Dispose method.

    Note: Not available
    1. Report
  2. Question: Which of the following is not an unboxing conversion?

    A
    void Sample1(object o) { int i = (int)o; }

    B
    void Sample1(ValueType vt) { int i = (int)vt; }

    C
    enum E { Hello, World} void Sample1(System.Enum et) { E e = (E) et; }

    D
    interface I { int Value { get; set; } } void Sample1(I vt) { int i = vt.Value; }

    E
    class C { public int Value { get; set; } } void Sample1(C vt) { int i = vt.Value; }

    Note: Not available
    1. Report
  3. Question: Which of the following regarding the System.DateTimeOffset structure are true?

    A
    It provides an exact point in time relative to the UTC time zone

    B
    It combines a DateTime structure with a TimeZone structure

    C
    It provides arithmetical operations using values with different offsets from the UTC

    D
    It can be used to determine the specific TimeZone for a local time

    Note: Not available
    1. Report
  4. Question: Determining the availability of sufficient memory for an operation can be accomplished by:

    A
    There is no supported application level means to determine if a specific amount of memory is available.

    B
    using static methods of System.Runtime.MemoryFailPoint and checking the return value

    C
    creating an instance of System.Runtime.MemoryFailPoint and monitoring for an InsufficientMemoryException

    D
    creating an instance of System.Runtime.MemoryFailPoint and monitoring for an OutOfMemoryException

    Note: Not available
    1. Report
  5. Question: When using version 3.5 of the framework in applications which emit a dynamic code, which of the following are true?

    A
    A Partial trust code can not emit and execute a code

    B
    The generated code has no more permissions than the assembly which emitted it.

    C
    It can be executed by calling System.Reflection.Emit.DynamicMethod( string name, Type returnType, Type[] parameterTypes ) without any special permissions

    D
    None of these

    Note: Not available
    1. Report
  6. Question: Which of the following characteristics are found in a query expression?

    A
    It must begin with a from clause

    B
    It must begin with a select clause

    C
    It can end with a group clause

    D
    An orderby clause may optionally follow a select clause

    Note: Not available
    1. Report
  7. Question: When using the Demand method of System.Security.IPermission, which of the following will occur?

    A
    The permissions of the code which invoked the Demand method will be evaluated.

    B
    or permissions which do a stack walk, an exception will occur only if NONE of the calling codes has the required permission

    C
    For permissions which do a stack walk, an exception will occur if ANY of the calling codes does not have the required permission

    D
    The permission levels of individual stack frames are always checked regardless of the permission type.

    Note: Not available
    1. Report
  8. Question: Which of the following characteristics do classes in the System.Drawing namespace such as Brush,Font,Pen, and Icon share?

    A
    hey encapsulate native resource and must be properly Disposed to prevent potential exhausting of resources.

    B
    They are all MarshalByRef derived classes, but functionality across AppDomains has specific limitations.

    C
    You can inherit from these classes to provide enhanced or customized functionality

    D
    They are Value Type objects.

    Note: Not available
    1. Report
  9. Question: Which of the following are true regarding event declaration in the code below? class Sample { event MyEventHandlerType MyEvent; }

    A
    MyEventHandlerType must be derived from System.EventHandler or System.EventHandler<TEventArgs>

    B
    MyEventHandlerType must take two parameters, the first of the type Object, and the second of a class derived from System.EventArgs

    C
    MyEventHandlerType may have a non-void return type

    D
    If MyEventHandlerType is a generic type, event declaration must use a specialization of that type.

    E
    MyEventHandlerType cannot be declared static

    Note: Not available
    1. Report
  10. Question: Which of the following statements apply to developing .NET code, using .NET utilities that are available with the SDK or Visual Studio?

    A
    Developers can create assemblies directly from the MSIL Source Code.

    B
    Developers can examine PE header information in an assembly.

    C
    Developers can generate XML Schemas from class definitions contained within an assembly.

    D
    Developers can strip all meta-data from managed assemblies.

    E
    Developers can split an assembly into multiple assemblies.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd