Which two assembly identity attributes should you include in the source code?
You are developing an application that will be deployed to multiple computers. You set the assembly
name.
You need to create a unique identity for the application assembly.
Which two assembly identity attributes should you include in the source code? (Each correct answer
presents part of the solution. Choose two.)
You need to meet the requirements
You are developing an application that contains a class named TheaterCustomer and a method
named ProcessTheaterCustomer. The ProcessTheaterCustomer() method accepts a
TheaterCustomer object as the input parameter.
You have the following requirements:
Store the TheaterCustomer objects in a collection.
Ensure that the ProcessTheaterCustomer() method processes the TheaterCustomer objects in the
order in which they are placed into the collection.
You need to meet the requirements.
What should you do?
You need to ensure that the application can use arrays larger than 2 GB
You are debugging a 64-bit C# application.
Users report System.OutOfMemoryException exceptions. The system is attempting to use arrays
larger than 2 GB in size.
You need to ensure that the application can use arrays larger than 2 GB.
What should you do?
Which code segment should you insert at line 23?
You develop an application by using C#. The application counts the number of times a specific word
appears within a set of text files. The application includes the following code. (Line numbers are
included for reference only.)
You have the following requirements:
Populate the _wordCounts object with a list of words and the number of occurrences of each word.
Ensure that updates to the ConcurrentDictionary object can happen in parallel.
You need to complete the relevant code.
Which code segment should you insert at line 23?
You need to adjust the loanRate value to meet the requirements
You are evaluating a method that calculates loan interest. The application includes the following
code segment. (Line numbers are included for reference only.)
When the loanTerm value is 5 and the loanAmount value is 4500, the loanRate must be set to 6.5
percent.
You need to adjust the loanRate value to meet the requirements.
What should you do?
Which code segment should you use?
You are developing an application that includes a class named Customer and a generic list of
customers. The following code segment declares the list of customers:
List<Customer> customersList = new List<Customer> () ;
You populate the customersList object with several hundred Customer objects.
The application must display the data for five Customer objects at a time.
You need to create a method that will return the correct number of Customer objects.
Which code segment should you use?
Which code segment should you insert at line 09?
You are developing an application that will use multiple asynchronous tasks to optimize
performance.
You create three tasks by using the following code segment. (Line numbers are included for
reference only.)
You need to ensure that the ProcessTasks() method waits until all three tasks complete before
continuing.
Which code segment should you insert at line 09?
Which code segment should you insert at line 16?
You are developing a C# application. The application includes the following code segment, (Line
numbers are included for reference only.)
The application fails at line 17 with the following error message: “An item with the same key has
already been added.”
You need to resolve the error.
Which code segment should you insert at line 16?
Which two code segments can you use to achieve this goal?
You are developing an application by using C#. The application includes a method named
SendMessage. The SendMessage() method requires a string input.
You need to replace “Hello” with “Goodbye” in the parameter that is passed to the SendMessage()
method.
Which two code segments can you use to achieve this goal? (Each correct answer presents a
complete solution. Choose two.)
Which two code segments should you use?
You are developing an application that includes the following code segment:
You need to implement both Start() methods in a derived class named UseStart that uses the Start()
method of each interface.
Which two code segments should you use? (Each correct answer presents part of the solution.
Choose two.)