31. What is the correct way to access the last element in an array named numbers in C#?
32. Which method is used to concatenate two or more strings in C#?
33. What is the correct syntax to declare a 2D array with 3 rows and 4 columns in C#?
34. What is the result of the expression string[] fruits = {"Apple", "Banana", "Orange"}; in C#?
35. In C#, which method is used to find the index of the first occurrence of a specified value in an array?
36. What is the correct way to declare and initialize a string array with three elements in C#?
37. In C#, what is the correct way to access the length of a string named text?
38. What does the IndexOf() method return if the specified value is not found in an array in C#?
39. What is the purpose of the Reverse() method when applied to an array in C#?
40. In C#, what method is used to convert a string to an array of characters?
Read More Section(Arrays and Strings in C Sharp)
Each Section contains maximum 100 MCQs question on Arrays and Strings in C Sharp. To get more questions visit other sections.