- Joined
- Jul 14, 2011
- Messages
- 3,213
If i have 100 items in an array (Item[1, 2, 3, 4]) and I want to detect the index of the picked item, what should I do?
The "brute-force" way I can think of is looping From 0 to 100, but, isn't there a best way?
The "brute-force" way I can think of is looping From 0 to 100, but, isn't there a best way?