MCSD.NET - 70-316 Exam Question:
Download Questions PDF

Suppose You develop a Windows-based application by using Visual Studio .NET. The application includes
numerous method calls at startup. After optimizing your application code, you test the application
on a variety of client computers. However, the startup time is too slow.
You must ensure that your application starts as quickly as possible the first time it runs. What
should you do?
A. Precompile your application by using the Native Image Generator (Ngen.exe):
Install the precompiled application on the client computers.
B. Install your application on the client computers.
Precompile your application by using the Native Image Generator (Ngen.exe).
C. Precompile your application by using the JIT compiler.
Install the precompiled application on the client computers.
D. Install your application on the client computers.
Precompile your application by using the JIT compiler.

Answer:

B. Install your application on the client computers.
Precompile your application by using the Native Image Generator (Ngen.exe).

Download MCSD.NET - 70-316 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You use Visual Studio .NET to create a control that will be used on several forms in your
application.
It is a custom label control that retrieves and displays your company?s current stock price.
The control will be displayed on many forms that have different backgrounds. You want the
control to show as much of the underlying form as possible. You want to ensure that only the
stock price is visible. The rectangular control itself should not be visible.
You need to add code to the Load event of the control to fulfill these requirements. Which two
code segments should you use? (Each correct answer presents part of the solution. Choose two)
A. this.BackColor = Color.Transparent;
B. this.ForeColor = Color.Transparent;
C. this.BackImage = null;
D. this.SetStyle(ControlStyles.UserPaint, false);
E. this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
You use Visual Studio .NET to create a Windows-based application. The application includes a
form named XYZForm, which displays statistical date in graph format. You use a custom
graphing control that does not support resizing.
You must ensure that users cannot resize, minimize, or maximize XYZForm. Which three actions
should you take? (Each answer presents part of the solution. Choose three)
A. Set XYZForm.MinimizeBox to False.
B. Set XYZForm.MaximizeBox to False.
C. Set XYZForm.ControlBox to False.
D. Set XYZForm.ImeMode to Disabled.
E. Set XYZForm.WindowState to Maximized.
F. Set XYZForm.FormBorderStyle to one of the Fixed Styles.
G. Set XYZForm.GridSize to the appropriate size.