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?
Tt has to be D, In line 09 Where (product.Name.StartWith("B"))
we have all products that start with the letter B.
Now we just need to grab them with the select Clause and we need to grab the whole product not just the product.name.
i am using visual studio 2019. d gives error. the below code works
List<product> b_prudcts = (from product in products
where product.name.StartsWith("b")
select product
).ToList();
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.70-483 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
afiqmehdizade
Highly Voted 4 years, 6 months agovenolium
Most Recent 4 years, 5 months agokobegao
4 years, 6 months ago