Examveda

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

A. Apple

B. Orange

C. Error

D. Banana

Answer: Option D


Join The Discussion

Related Questions on Arrays and Strings in C Sharp