News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
  1. Collection Class must implement System.Collections.Generic.ICollection<T>

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

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

    or

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

Answer: Answer is c
Further Reading:

In order to work with Collection initializers, a class must implement IEnumerable (not generic) and it must have an .Add() method.The method does not have to be Add(T) - it will work with non-generic collections as well.  The objects in the initialization list must match a valid Add(arg) method on the collection class. Useful resources, collection classes, object and collection initializer

comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;