You need to ensure that B_Products contain all of the products that start with the letter “B”

You have the following code. (Line numbers are included for reference only.)

When you execute the code, you get an exception.
You need to ensure that B_Products contain all of the products that start with the letter “B”.
What should you do?

You have the following code. (Line numbers are included for reference only.)

When you execute the code, you get an exception.
You need to ensure that B_Products contain all of the products that start with the letter “B”.
What should you do?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
Simply select the product items.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Guus Koning

Guus Koning

I think that none of the answers is correct. Shouldn’t it be something like:

var B_product =

rao

rao

The code wants a List. In the LINQ code you need to return a list of Products, so, you need to select product at the end. The answer it’s correct