Halloween Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Legit GSSP-.NET Exam Download

Page: 18 / 18
Total 491 questions

GIAC GIAC Secure Software Programmer - C#.NET Questions and Answers

Question 69

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You have recently finished development of a Windows Forms 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.

Options:

A.

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

B.

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

C.

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

D.

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

Question 70

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You create an application using .NET Framework. The application is used to place an assembly on the intranet. Which of the following classes will you use to test whether or not an assembly was located on the intranet?

Options:

A.

GacMembershipCondition

B.

PublisherMembershipCondition

C.

UrlMembershipCondition

D.

ZoneMembershipCondition

E.

SiteMembershipCondition

Question 71

You work as a Software Developer for Mansoft Inc. You create an application using Visual Studio .NET 2005. You write code in the application and execute it, but it caused an error. Now, you want to find out the reason that has thrown the exception. Which of the following properties will you use to accomplish this task?

Options:

A.

Source

B.

StackTrace

C.

Message

D.

Data

E.

TraceSwitch

Question 72

You work as a .NET Trainer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You are required to identify the building blocks of .NET Framework. Which of the following building blocks will you choose to accomplish the task?

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

Options:

A.

Common Language Runtime (CLR)

B.

Common Type System (CTS)

C.

.NET Server Infrastructure

D.

Common Language Specification (CLS)

E.

Microsoft Intermediate Language (MSIL)

Page: 18 / 18
Total 491 questions