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

Exercises

21.3 (Collections Terminology) Define each of the following terms:

a) ICollection

b) Array

c) IList

d) load factor

e) Hashtable collision

f) space/time trade-off in hashing

g) Hashtable

21.4 (ArrayList Methods) Explain briefly the operation of each of the following methods of class ArrayList:

a) Add

b) Insert

c) Remove

d) Clear

e) RemoveAt

f) Contains

g) IndexOf

h) Count

i) Capacity

21.5 (ArrayList Insertion Performance) Explain why inserting additional elements into an Array-List object whose current size is less than its capacity is a relatively fast operation and why inserting additional elements into an ArrayList object whose current size is at capacity is relatively slow.

21.6 (Inheritance Negatives) In our implementation of a ...

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