Answer the following statements true (T) or false (F)
1) When values are provided upon declaration of an array, the new
keyword is not required.
2) A constant must be initialized in the same statement where it is declared
and cannot be modified.
3) Values in an array can be totaled by using the ArrayTotal method.
4) C# automatically performs bounds checking to ensure the program
doesn’t access data outside the bounds of an array.
5) The foreach statement is preferred over the for statement when the
indices of the elements in an array will be used in the body of the repetition statement.
1) T
2) T
3) F
4) T
5) F
You might also like to view...
What is a Coroutine() function used for?
What will be an ideal response?
A ____ is a series of still frames projected at a rate fast enough to fool the human eye into perceiving continuous motion.
A. video B. Web page C. clip D. movie