Csharp.NET 3 online test, online practice test, exam, quiz

Csharp.NET 3 Online Test

The purpose of this online test is to help you evaluate your Csharp.NET 3 knowledge yourself. These Multiple Choice Questions (MCQs) on Csharp.NET 3 will prepare you for technical round of job interview, written test and many certification exams.

The test contains 20 questions and there is no time limit. You will get 1 point for each correct answer. You will get your online test score after finishing the complete test.
(Total 20 questions)        (Time spent 0:0)

1. Your company uses Visual Studio .NET as its application development platform. You have recently finished development of a class named ShopList using the .NET Framework. The class will include ShopItem objects that have the public properties exhibit below: 1. Name 2. ID 3. DiscountCode You need to enable users of the class to iterate through the ShopList collection, and to list each product's name and ID using the foreach statement. Which of the following code segments will you use to accomplish this task?

   View Test Answer