1. | Which of the following is the correct way to obtain the number of elements present in the array given below? int[] intMyArr = {25, 30, 45, 15, 60}; 1 intMyArr.GetMax; 2 intMyArr.Highest(0); 3 intMyArr.GetUpperBound(0); 4 intMyArr.Length; 5 intMyArr.GetMaxElements(0); |
|||||||||
Answer: Option B Explanation: using System; |