Hi
This code snippet fails with "Object cannot be stored in an array of
this type." whether I type the symbol 'items' as Size[] or just plain
Array or anything sensible.
Any ideas please?
Hashtable h = new Hashtable();
for(int i = 0; i < 10; i++)
{
h[i] = i;
}
Size[] items = new Size[h.Count];
h.Keys.CopyTo( items, 0 );
Tx