C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-27-2004, 06:13 AM   #1
Banned
 
nickname_changed's Avatar
 
Join Date: Feb 2003
Location: Australia
Posts: 986
STL map<> Equivalent

How can I use an array with strings as indexes? For example:

string Title = Book["Title"];

Is it part of the .NET framework/CLR?
nickname_changed is offline   Reply With Quote
Old 02-27-2004, 06:32 AM   #2
the hat of redundancy hat
 
nvoigt's Avatar
 
Join Date: Aug 2001
Location: Hannover, Germany
Posts: 2,769
System.Collections.Hashtable or SortedList would do the trick I guess
__________________
hth
-nv

She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

When in doubt, read the FAQ.
Then ask a smart question.
nvoigt is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pointer equivalent to array notation bekkilyn C Programming 4 12-06-2006 08:22 PM
Header File Question(s) AQWst C++ Programming 10 12-23-2004 11:31 PM
im extreamly new help rigo305 C++ Programming 27 04-23-2004 11:22 PM
Prime Number Generator... Help !?!! Halo C++ Programming 9 10-20-2003 07:26 PM
include question Wanted420 C++ Programming 8 10-17-2003 03:49 AM


All times are GMT -6. The time now is 07:40 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22