Hello, guys I found one interesting task in one of my programming book which I coulddn't solve there and I am trying to do it now.
So in this task I have three field Name,Product,Price and I can have dublicated item, so I have to evade this too,but on the other hand in the structure of data I will chose later I have to save up to 100 050 records, and search threw them for over 2,50 sec. and I can use only the .NET framework and nothing custom.
So if I chose dictionary or sortedDictionary I have to enter Key & Value , but I can't dublicate item there and if I use KeyValuePair I will have something like this :
But then how to add element, search fast in this dictionary and delete item from KeyValuePairs ?
Can you give me some advice how to solve this