Examveda

What is the result of the expression string[] fruits = {"Apple", "Banana", "Orange"}; in C#?

A. A compilation error

B. Initializes an empty array

C. Declares an array with three elements

D. Initializes an array with three elements

Answer: Option C


Join The Discussion

Related Questions on Arrays and Strings in C Sharp