C# Generic Collection help
Posted
by dcmovva
on Stack Overflow
See other posts from Stack Overflow
or by dcmovva
Published on 2010-05-16T06:53:03Z
Indexed on
2010/05/16
7:00 UTC
Read the original article
Hit count: 124
c#
|collections
I have a requirement to implement some kind of dictionary object. Something like MyDict<K,V1, V2)
. For example if I have a Question as Key(k) then Correct answer is V1 . V2 is user selected answer. Is there a collection that would satisfy this requirement in C#. If I have to design my own type, what interfaces should I implement. ICollection
and Ilist
?
© Stack Overflow or respective owner