Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hashtable

 
him jain
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
I want to create a hashtable but I have two keys and one value.
means i have the unique pair of key to determine value.
Can you suggest me how to go for it?
I need an efficient solution.
Thanks.
 
Sridhar Santhanakrishnan
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Just create a class with the two keys as properties
2) use the class's objects as keys instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic