GIAC
GSSP-NET · Question #382
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…
The correct answer is C. int[] array1 = {12, 16, 18, 22}. See the full explanation below for the reasoning.
Question
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:
Create a static array. Sort the array. 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};
- Dint[] array1 = {12, 16, 18, 22};
How the community answered
(44 responses)- A7% (3)
- B5% (2)
- C75% (33)
- D14% (6)
Community Discussion
No community discussion yet for this question.