void GetItem(ref object iIndex);
object Counter=1; GetItem(ref Counter);
object Counter=0; for (int g=0;g<100;g++) { Counter=(object)g; GetItem(ref Counter); }