70-483 Programming in C#

Loading demo links...

Showing 10–12 of 15 questions

Question 10 (Volume B)

You are developing an application that uses several objects. The application includes the following code segment. (Line numbers are included for reference only.)

You need to evaluate whether an object is null.

Which code segment should you insert at line 03?

Select an option, then click Submit answer.

  • Option A

  • Option B

  • Option C

  • Option D

Question 11 (Volume B)

You are developing a Windows Forms (WinForms) application. The application displays a TreeView that has 1,000 nodes.

You need to ensure that if a user expands a node, and then collapses the TreeView, the node object is kept in memory unless the Garbage Collector requires additional memory.

Which object should you use to store the node?

Select an option, then click Submit answer.

  • GC

  • Handle

  • Cache

  • WeakReference

Question 12 (Volume B)

You are creating a class named Loan.

The Loan class must meet the following requirements:

Include a member that represents the rate for a Loan instance.

Allow external code to assign a value to the rate member.

Restrict the range of values that can be assigned to the rate member.

You need to implement the rate member to meet the requirements.

In which form should you implement the rate member?

Select an option, then click Submit answer.

  • public static property

  • public property

  • public static field

  • protected field