O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Self-Review Exercises

9.1 Fill in the blanks in each of the following statements:

a) Use the _________ property of the List class to find the number of elements in the List.

b) The LINQ _________ clause is used for filtering.

c) _________ are classes specifically designed to store groups of objects and provide methods that organize, store and retrieve those objects.

d) To add an element to the end of a List, use the_____________ method.

e) To get only unique results from a LINQ query, use the___________ method.

9.2 State whether each of the following is true or false. If false, explain why.

a) The orderby clause in a LINQ query can sort only in ascending order.

b) LINQ queries can be used on both arrays and collections.

c) The Remove method of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required