Click here to Skip to main content
14,602,045 members
   

C#

 
AnswerRe: Random Name List Pin
Guffa26-Jul-08 14:31
MemberGuffa26-Jul-08 14:31 
GeneralRe: Random Name List Pin
Luc Pattyn26-Jul-08 15:53
sitebuilderLuc Pattyn26-Jul-08 15:53 
GeneralRe: Random Name List Pin
Guffa26-Jul-08 17:02
MemberGuffa26-Jul-08 17:02 
GeneralRe: Random Name List Pin
Luc Pattyn26-Jul-08 17:41
sitebuilderLuc Pattyn26-Jul-08 17:41 
GeneralRe: Random Name List Pin
PIEBALDconsult26-Jul-08 18:51
professionalPIEBALDconsult26-Jul-08 18:51 
QuestionRemote Desktop Sharing Pin
Chetan Patel26-Jul-08 2:32
MemberChetan Patel26-Jul-08 2:32 
AnswerRe: Remote Desktop Sharing Pin
Ed.Poore26-Jul-08 2:49
MemberEd.Poore26-Jul-08 2:49 
QuestionTypesafe collection that accepts two items Pin
Gareth H26-Jul-08 2:03
MemberGareth H26-Jul-08 2:03 
I am looking for a collection that is typesafe and will allow me to add two items.

eg:

NewCollection<Type, Color>> collection = new NewCollection<Type, Color>>();
collection.Add(theType, theColor);


I've had a look on MSDN, and the only collections that accept two values are key, value (i.e: hashtables). The problem with this is i want to be able to get the values by index.

eg:

Type typeReturned = collection.ValueType[32];
Color colorReturned = collection.ValueColor[32];


OrderedDictionary would be fine if it was typesafe. So does anyone know of a collection that matchs my needs?

Regards,
Gareth.

(FKA gareth111)

AnswerRe: Typesafe collection that accepts two items Pin
Luc Pattyn26-Jul-08 2:35
sitebuilderLuc Pattyn26-Jul-08 2:35 
AnswerRe: Typesafe collection that accepts two items Pin
Kevin McFarlane26-Jul-08 2:42
MemberKevin McFarlane26-Jul-08 2:42 
AnswerRe: Typesafe collection that accepts two items Pin
Ed.Poore26-Jul-08 2:55
MemberEd.Poore26-Jul-08 2:55 
GeneralRe: Typesafe collection that accepts two items Pin
Gareth H26-Jul-08 3:16
MemberGareth H26-Jul-08 3:16 
Questionwebservice on another system Pin
balu1234526-Jul-08 0:39
Memberbalu1234526-Jul-08 0:39 
AnswerRe: webservice on another system [modified] Pin
Ed.Poore26-Jul-08 2:46
MemberEd.Poore26-Jul-08 2:46 
QuestionSplitting a Byte Array Pin
vayanan25-Jul-08 23:02
Membervayanan25-Jul-08 23:02 
AnswerRe: Splitting a Byte Array Pin
DaveyM6925-Jul-08 23:10
professionalDaveyM6925-Jul-08 23:10 
GeneralRe: Splitting a Byte Array Pin
vayanan26-Jul-08 1:22
Membervayanan26-Jul-08 1:22 
Questionwebservice problem Pin
balu1234525-Jul-08 22:37
Memberbalu1234525-Jul-08 22:37 
AnswerRe: webservice problem Pin
Ed.Poore25-Jul-08 22:51
MemberEd.Poore25-Jul-08 22:51 
Questioneasy question for profeesionall programmers... Pin
mr.mohsen25-Jul-08 21:32
Membermr.mohsen25-Jul-08 21:32 
AnswerRe: easy question for profeesionall programmers... Pin
Hesham Amin25-Jul-08 21:47
MemberHesham Amin25-Jul-08 21:47 
AnswerRe: easy question for profeesionall programmers... Pin
DaveyM6925-Jul-08 22:48
professionalDaveyM6925-Jul-08 22:48 
AnswerRe: easy question for profeesionall programmers... Pin
Paul Conrad26-Jul-08 11:03
professionalPaul Conrad26-Jul-08 11:03 
Questionlogical and operator Pin
Zeyad Jalil25-Jul-08 21:25
professionalZeyad Jalil25-Jul-08 21:25 
AnswerRe: logical and operator Pin
Hesham Amin25-Jul-08 21:38
MemberHesham Amin25-Jul-08 21:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.