S SSW Nov 13, 2003 #4 Try Below code... ArrayList atl = new ArrayList(3); atl.Add(1); atl.Add(2); atl.Add(3); int[] i= (int[])atl.ToArray(System.Type.GetType("System.Int32")); Hope this helps. Thanks, sswalia MCAD, MCAD, OCA
Try Below code... ArrayList atl = new ArrayList(3); atl.Add(1); atl.Add(2); atl.Add(3); int[] i= (int[])atl.ToArray(System.Type.GetType("System.Int32")); Hope this helps. Thanks, sswalia MCAD, MCAD, OCA
H Homa Nov 14, 2003 #5 Thanks, that works now Homa Wong SSW said: Try Below code... ArrayList atl = new ArrayList(3); atl.Add(1); atl.Add(2); atl.Add(3); int[] i= (int[])atl.ToArray(System.Type.GetType("System.Int32")); Hope this helps. Thanks, sswalia MCAD, MCAD, OCA Homa said: As titled. Click to expand... Click to expand...
Thanks, that works now Homa Wong SSW said: Try Below code... ArrayList atl = new ArrayList(3); atl.Add(1); atl.Add(2); atl.Add(3); int[] i= (int[])atl.ToArray(System.Type.GetType("System.Int32")); Hope this helps. Thanks, sswalia MCAD, MCAD, OCA Homa said: As titled. Click to expand... Click to expand...