Programming in C# Free Practice Exam Questions

33 real Programming in C# exam questions with answers and AI explanations. Microsoft certification prep — page 1 of 4.

  1. Question 10: You need to write a method that combines an unknown number of strings. The solution must minimize the amount of memory used by the method when the method execu…
  2. Question 14: You are developing an application by using C#. You have the following requirements: ✑ Support 32-bit and 64-bit system configurations. ✑ Include pre-processor…
  3. Question 49: You are developing an application. You need to declare a delegate for a method that accepts an integer as a parameter, and then returns an integer. Which type…
  4. Question 65: You are implementing a method named ProcessData that performs a long-running task. The ProcessData() method has the following method signature: public void Pro…
  5. Question 69: You are creating an application that reads from a database. You need to use different databases during the development phase and the testing phase by using con…
  6. Question 70: You are developing an application that contains a class named TheaterCustomer and a method named ProcessTheaterCustomer. The method accepts a TheaterCustomer o…
  7. Question 71: 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…
  8. Question 81: You plan to create a list of customers named customers. Each customer will have a name and a key. The name and key will be strings. You will use the following…
  9. Question 86: You are creating an application that reads from a database. You need to use different databases during the development phase and the testing phase by using con…
  10. Question 87: You are developing an application. You need to declare a delegate for a method that accepts a string as a parameter, and then returns a string. Which type of d…