Home / MCQ Bank / Computer
Computer Arrays And Strings In C Sharp

What is the result of the following code in C#: string[] fruits = {"Apple", "Banana", "Orange"}; Console.WriteLine(fruits[1]);

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • Banana

Related Computer Questions

Which Statement is used to insert the values in the table? What is the average time complexity of randomized quick sort? How can you close a file after reading or writing in Java? Which sorting algorithm can be used to sort a large number of floating-point numbers efficiently? General purpose computer are those that can be adopted to countless uses simply by changing its-