Code:
public static void Delete(System.Array aArray, int iIndex)
{
...
for (int i = iIndex; i < iArrayLength; i++)
{
aArray[i] = aArray[i + 1];
}
...
}
Above is a snippet of code, it generates the error:
"Cannot apply indexing with [] to an expression of type 'System.Array'"
How can i get around this, it needs to be able to handle arrays of different types.