I've got this:
for (int x = 1; x < 3 ; x++)
{
DoStuff(x);
}
private void DoStuff(int x )
{
//in here i got two integers a, b;
}
Now the second symbol is on, DIA, but now it will overwrite something what is stored in a by SPY.
How can I overcome this? So that SPY and DIA have is own 'a' and 'b'. (I think, it should be in the loop i.e. It creats a1, b1, a2, b2 as integers/doubles, but how do I do that?)
Someone who has a suggestion for me?
Thanks
Comment