Question:When using an implicitly typed array, which of the following is most appropriate? 

A All elements in the initializer list must be of the same type. 

B All elements in the initializer list must be implicitly convertible to a known type which is the actual type of at least one member in the initializer list 

C All elements in the initializer list must be implicitly convertible to the common type which is the base type of the items actually in the list 

D There are no restrictions on the items in the initializer list as the array is not declared to be a specific type. 

+ Answer
+ Report
Total Preview: 498

Copyright © 2024. Powered by Intellect Software Ltd