nerdexam
GIAC

GSSP-.NET · Question #353

(Topic 3) You work as a Software Developer for Blue Well Inc. The company uses Visual Studio .NET 2005 as its application development platform. You create an application using Visual C# .NET and…

The correct answer is C. int[] array1 = {12, 16, 18, 22}. See the full explanation below for the reasoning.

Question

  • (Topic 3)

You work as a Software Developer for Blue Well Inc. The company uses Visual Studio .NET 2005 as its application development platform. You create an application using Visual C# .NET and perform the following operations:

l Create a static array. l Sort the array. l Display the sorted array. Which of the following code snippets will you use to accomplish the task?

Options

  • Aint array1[] = {12, 16, 18, 22};
  • Bint[] array1 = {12, 16, 18, 22};
  • Cint[] array1 = {12, 16, 18, 22};

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    10% (3)
  • C
    83% (25)

Community Discussion

No community discussion yet for this question.

Full GSSP-.NET Practice