nerdexam
GIAC

GSSP-.NET · Question #206

GSSP-.NET Question #206: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-.NET to reveal the answer and full explanation for question #206. The question stem and answer options stay visible for context.

Question

  • (Topic 2) You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are developing an application that manages sports teams. When a user queries details about a particular team, the id and name of each member of the team must be stored as a single collection. You must create the collection of team members in the most efficient manner, in a manner that guarantees type safety, and in a manner that will require the least amount of code to retrieve and work with the data in the collection. Which code segment should you choose?

Options

  • Astring[] team = new string[] {
  • BArrayList team = new ArrayList();
  • CHashtable team = new Hashtable();
  • DDictionary<int, string> team = new Dictionary<int, string>();

Unlock GSSP-.NET to see the answer

You've previewed enough free GSSP-.NET questions. Unlock GSSP-.NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GSSP-.NET Practice