GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 134 Topic 14 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 134 Topic 14 Discussion

GSSP-.NET Exam Topic 14 Question 134 Discussion:
Question #: 134
Topic #: 14

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows application using the .NET Framework. You create a Semaphore class instance in the application by using the following code snippet:

Semaphore tSema = new Semaphore(0, 5);

...

tSema.Release(6);

What will the above code segment do?


A.

It will set the maximum count for the semaphore to 6.


B.

It will set the initial count for the semaphore to 5.


C.

It will throw a SemaphoreFullException.


D.

It will throw a ThreadAbortException.


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.