Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key


Play button


Play button




Click to flip

11 Cards in this Set

  • Front
  • Back
What method of string comparison is used in StringCollection?
String comparisons are case-sensitive.
What is the default comparer used in NameValueCollection?
The default comparer is the CaseInsensitiveComparer.
How does NameValueCollection store values differently than NameObjectCollectionBase?
Unlike the NameObjectCollectionBase, NameValueCollection stores multiple string values under a single key.
What does the NameValueCollection.Item property return?
A String that contains the comma-separated list of values associated with the specified key, if found; otherwise, a null reference.
What is a SortedList?
A data structure that represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.
What is a NameValueCollection?
Represents a collection of associated String keys and String values that can be accessed either with the key or with the index.
What is a StringDictionary?
A class that implements a hash table with the key and the value strongly typed to be strings rather than objects.
What are some differences between a StringDictionary and a NameValueCollection?
1. NameValueCollection allows multiple values to be stored under one key, where StringDictionary does not.

2. NameValueCollection allows lookup by numeric index and key, where StringDictionary only allows lookup by key.
What is the purpose of StringCollection?
Represents a collection of strings. This class is similar to a strongly typed ArrayList with less functionality.
How are keys compared in a StringDictionary?
What are guidelines for using SortedList?
Use SortedList for storing data that needs to be sorted, is mostly static, and needs to be updated only infrequently. Otherwise, frequently updated data will need to be resorted.