New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 20 Topic 3 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 20 Topic 3 Discussion

GSSP-.NET Exam Topic 3 Question 20 Discussion:
Question #: 20
Topic #: 3

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You have recently finished development of an ASP.NET Web application using .NET Framework 3.5. You have written complex foreach loops to retrieve data from collections. However, you want to modify the application, so that it uses LINQ queries in place of foreach loops. What will be the advantages of using LINQ queries instead of foreach loops?

Each correct answer represents a part of the solution. Choose all that apply.


A.

They are more concise and readable, particularly when filtering multiple conditions.


B.

They can be ported to other data sources with slight or no alteration.


C.

They provide powerful filtering, ordering, and grouping capabilities with least application co de.


D.

They provide lambda expression in the form of an expression tree.


Get Premium GSSP-.NET Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.