Which two actions should you perform?

You are developing an application by using C#. You have the following requirements: • Support 32-bit and 64-bit system configurations. • Include pre-processor directives that are specific to the system configuration. • Deploy an application version that includes both system configurations to testers. • Ensure that stack traces include accurate...

October 27, 2018 No Comments READ MORE +

Which algorithm should you use?

You are developing an application that will transmit large amounts of data between a client computer and a server. You need to ensure the validity of the data by using a cryptographic hashing algorithm. Which algorithm should you use?A . ECDsaB . RNGCryptoServiceProviderC . Rfc2898DeriveBytesD . HMACSHA512View AnswerAnswer: D

October 27, 2018 No Comments READ MORE +

Which code segment should you insert at line 16?

You are developing a method named CreateCounters that will create performance counters for an application. The method includes the following code. (Line numbers are included for reference only.) You need to ensure that Counter2 is available for use in Windows Performance Monitor (PerfMon). Which code segment should you insert at...

October 26, 2018 No Comments READ MORE +

Which code segment should you insert at line 16?

You are developing a method named CreateCounters that will create performance counters for an application. The method includes the following code. (Line numbers are included for reference only.) You need to ensure that Counter2 is available for use in Windows Performance Monitor (PerfMon). Which code segment should you insert at...

October 26, 2018 No Comments READ MORE +

Which code segment should you use?

You are creating a console application by using C#. You need to access the application assembly. Which code segment should you use?A . Assembly.GetAssembly(this);B . this.GetType();C . Assembly.Load();D . Assembly.GetExecutingAssembly();View AnswerAnswer: D Explanation: Assembly.GetExecutingAssembly - Gets the assembly that contains the code that is currently executing. http://msdn.microsoft.com/en-us/library/system.reflection.assembly.getexecutingassembly(v=vs.110).aspx Assembly.GetAssembly - Gets...

October 26, 2018 No Comments READ MORE +

Which two actions can you perform to achieve this goal?

You are developing an assembly that will be used by multiple applications. You need to install the assembly in the Global Assembly Cache (GAC). Which two actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose two.)A . Use the Assembly Registration tool (regasm.exe)...

October 26, 2018 No Comments READ MORE +

Which access modifier should you use for the GetData() method?

An application includes a class named Person. The Person class includes a method named GetData. You need to ensure that the GetData() method can be used only by the Person class and not by any class derived from the Person class. Which access modifier should you use for the GetData()...

October 22, 2018 No Comments READ MORE +

What should you do?

You are developing an application that includes a class named UserTracker. The application includes the following code segment. (Line numbers are included for reference only.) You need to add a user to the UserTracker instance. What should you do? A . Option AB . Option BC . Option CD ....

October 21, 2018 No Comments READ MORE +

Which garbage collector method should you use?

You are developing an application by using C#. The application includes an object that performs a long running process. You need to ensure that the garbage collector does not release the object's resources until the process completes. Which garbage collector method should you use?A . WaitForFullGCComplete()B . SuppressFinalize()C . collect()D...

October 20, 2018 No Comments READ MORE +

Which three actions should you perform in sequence?

DRAG DROP You are developing an application by using C#. The application will process several objects per second. You need to create a performance counter to analyze the object processing. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to...

October 15, 2018 No Comments READ MORE +