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

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

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Declares an array with three elements

Related Computer Questions

Which of these packages contain all the collection classes? How many stacks are required for reversing a word algorithm? In C, which control structure is used to iterate through a collection of items, such as an array or a list? How many bits are needed for standard encoding if the size of the character set is X? What will be the output of the following Python code? print('cba'.maketrans('abc', '123'))