could anyone help me ? I have collections of some items, each of them has unique ID and I need to write code to find the item of specific ID. I found class Predicate and I suppose that this could be the right way to solve it as simple as possible. But may be I'm wrong I don't know.
I also tried to write some code according C# and C++ codes but I wasn't successful.
Did you consider to use a dictionary?
01 myDictionary[binary-long, type Object]. *> 1st parameter is type of key.
... *> set values for myObject and dicKey
write myDictionary from myObject key dicKey
To get a item:
*> set value for dicKey
read myDictionary into myObject key dicKey invalid key ...
Well, I have collection of menuitems with property Name and I'm looking for as quick way of retrieving requested item according to its name as possible. And I thought using Predicate would be the best way. I prefer when the code is as simple as possible, that's all.