Didn't write here for a while now, and I just had a question from one of the programmers in our company.
Hash tables in .Net are piece of cake. Simply creating a dictionary or an actual hashtable object and that it.
So, were gonna create an array which will contain the workers data in Json format (no need to panic, this is very simple example).
The Worker object will have Id. Unfortunately, the array has some duplications and besides - all I need is the ID and the Name.
var hashtable = new Object();
var _array = ;
_array = FillWorkersData(); // demo function which will return json data.
for (var i in _array)
var Worker = _array[i];
// hashtable already contains this worker
_hashtable[Worker.Id] = Worker.Name;
CTO at ITweetLive.com