Question:Which of the following does using Initializer Syntax with a collection as shown below require? CollectionClass numbers = new CollectionClass { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; 

A The Collection Class must implement System.Collections.Generic.ICollection<T> 

B The Collection Class must implement System.Collections.Generic.IList<T> 

C Each of the Items in the Initializer List will be passed to the Add<T>(T item) method 

D The items in the initializer will be treated as an IEnumerable<T> and passed to the collection constructor+K110 

+ Answer
+ Report
Total Preview: 950

Copyright © 2024. Powered by Intellect Software Ltd