Test Your Knowledge: Quiz

Question 14-1. What is the convention for naming an indexer?

Question 14-2. What types can be used in an indexer to index a collection?

Question 14-3. What are the preconditions for calling Sort( ) on a collection?

Question 14-4. What is the purpose of generics?

Question 14-5. What is the purpose of the IEnumerable<T> interface?

Question 14-6. What do you use the yield keyword for?

Question 14-7. What is the principal difference between a List<T> and an array?

Question 14-8. What is the Capacity property of the List used for?

Question 14-9. What is the difference between a Stack and a Queue?

Question 14-10. In a Dictionary, what is the meaning of the key and the value?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset