B
bg_ie
Hi,
What is wrong with the following -
short[] arrfile = new short[100];
foreach (short s in arrfile)
{
s = 10;
}
Error 1 Cannot assign to 's' because it is a 'foreach iteration
variable'
Thanks,
Barry.
What is wrong with the following -
short[] arrfile = new short[100];
foreach (short s in arrfile)
{
s = 10;
}
Error 1 Cannot assign to 's' because it is a 'foreach iteration
variable'
Thanks,
Barry.