Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorted list or something else?

Status
Not open for further replies.

TipGiver

Programmer
Sep 1, 2005
1,863
Hello everyone.

I need to have some data in pairs. They are both numbers
Cost: Int16
Pos: UInt16

The unique is the "Pos" but i need to have them sorted by the "Cost". Many pairs may have the same Cost.

I am playing around with the SortedList(of UInt16, Int16). The problem is that it doesnt allow to have many same keys (!! which is what i want)

Any help on that issue? Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top