Dictionary object

Results 1 to 2 of 2

Thread: Dictionary object

  1. #1
    Join Date
    Dec 1969

    Default Dictionary object

    Is it possible to add a more than one key to a dictionary object?

  2. #2
    Join Date
    Dec 1969

    Default RE: Dictionary object

    What *possible* use would be a dictionary that could only hold a single key? One key, one value. What&#039s the point?<BR><BR>Yes, of course. Thousands of keys.<BR><BR>Ahhh!! Just occurred to me: Do you mean "can I doubly key a given value"? No. But no reason you can&#039t just put the value in twice with two different keys. If the "value" is an object, then you are *not* storing duplicates of the object...you are only storing multiple *pointers* (references) to the object, so not really any extra overhead, even.<BR><BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts