3280 C# Quiz 04

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which of the following locations is the first element in an array?

0

Which of the following most accurately describes an array in C#?

A contiguous section of memory

In C#, which interface do all collections implement?

IEnumerable

What is the purpose of the StackTrace property?

To show what methods have executed so far

Which of the following are times when exceptions should be used?

When the program cannot continue normally

Which of the following operators are most often used with arrays?

[ ]

Which keyword is used to run code whether an exception occurs or not?

finally

Which of the following is the correct way of declaring an array in C#?

int[] arr = new int[10];

Which keyword in C# is used to indicate a generic?

none

Which of the following keywords are involved in using exceptions?

try, catch


Conjuntos de estudio relacionados

Sociology: Marriage and Family Ch. 1-3

View Set

BUS1B Managerial Accounting Chapter 1

View Set