PrepAway - Latest Free Exam Questions & Answers

Category: 70-536

Exam 70-536: TS: Microsoft .NET Framework – Application Development Foundation

What should you do?

You work as an application developer at Domain.com. Domain.com uses an application that calculates monthly payments based upon client input.
You are currently debugging this application using the Microsoft Visual Studio 2005 IDE.
The application contains the following code:
public double CalculateMonthlyPayment (Single rate, double principal) {
//Implementation code
}
You have discovered that unexpected results are being returned by the application. You would like to pause execution and display a message box containing an error message in the event of a negative or zero rate value is Passed to the CalculateMonthlyPayment method.
You need to ensure that this only occurs during debugging mode.
What should you do?

Which code segment should you use?

You are developing an application that stores data about your company’s sales and technical support teams.
You need to ensure that the name and contact information for each person is available as a single collection when a user queries details about a specific team.
You also need to ensure that the data collection guarantees type safety.
Which code segment should you use?

Which code segment should you use?

You are developing an auditing application to display the trusted ClickOnce applications that are installed on a computer.
You need the auditing application to display the origin of each trusted application.
Which code segment should you use?

What should you do?

You would like to create a custom performance counter for an application that you created recently.
To do this, you decide to create a custom category named ApplicationPerformance and a performance counter named HitNumber.
You need to ensure that this counter is shared across numerous applications.
What should you do?


Page 11 of 23« First...910111213...20...Last »